CSS named color
RosyBrown #BC8F8F
RosyBrown (CSS keyword rosybrown) has the hex code #BC8F8F and the RGB value rgb(188, 143, 143): a medium, muted red.
A grayish, dusty pink-brown (#bc8f8f). It is one of the few named colors in the muted mauve range.
Color codes for RosyBrown
| CSS keyword | rosybrown |
|---|---|
| HEX | #BC8F8F |
| RGB | rgb(188, 143, 143) |
| HSL | hsl(0, 25%, 65%) |
| HWB | hwb(0 56% 26%) |
| OKLCH | oklch(69.3% 0.055 18.6) |
| CMYK (naive, no ICC profile) | cmyk(0%, 24%, 24%, 26%) |
| Decimal | 12,357,519 |
| Hue family | Browns and tans |
Contrast and accessibility
On rosybrown, black text has a contrast ratio of 7.46:1 and passes AAA at any text size; white text reaches 2.81:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on rosybrown | 7.46:1 | Pass | Pass | Pass | Pass | 50.0 |
| White text on rosybrown | 2.81:1 | Fail | Fail | Fail | Fail | −59.3 |
| Rosybrown text on white | 2.81:1 | Fail | Fail | Fail | Fail | 54.0 |
| Rosybrown text on black | 7.46:1 | Pass | Pass | Pass | Pass | −47.8 |
Tints and shades
Each step mixes rosybrown with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, rosybrown, white 25%) in CSS.
Tints (mixed with white)
- 5%
#bf9595 - 15%
#c6a0a0 - 25%
#cdabab - 35%
#d3b6b6 - 45%
#dac1c1 - 55%
#e1cdcd - 65%
#e8d8d8 - 75%
#eee3e3 - 85%
#f5eeee - 95%
#fcf9f9
Shades (mixed with black)
- 5%
#b38888 - 15%
#a07a7a - 25%
#8d6b6b - 35%
#7a5d5d - 45%
#674f4f - 55%
#554040 - 65%
#423232 - 75%
#2f2424 - 85%
#1c1515 - 95%
#090707
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, rosybrown's complementary color is #73A7A9 (close to cadetblue), its analogous colors are #B78FA2 and #B9937F, and its triadic partners are #8CA584 and #889EBF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #73a7a9 |
| Analogous | −30°, +30° | #b78fa2#b9937f |
| Triadic | +120°, +240° | #8ca584#889ebf |
| Split-complementary | +150°, +210° | #7ba896#79a3b7 |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
RosyBrown is a warm color: its hue is 0° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| darkgray | #a9a9a9 | 6.9 |
| darksalmon | #e9967a | 8.4 |
| palevioletred | #db7093 | 8.9 |
Code snippets
.element {
color: rosybrown;
background-color: #bc8f8f;
border-color: rgb(188 143 143);
outline-color: oklch(69.3% 0.055 18.6);
}<div class="bg-[#bc8f8f] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-rosybrown: #bc8f8f;
}
/* then use bg-rosybrown, text-rosybrown, border-rosybrown */import SwiftUI
extension Color {
static let rosybrown = Color(red: 0.737, green: 0.561, blue: 0.561)
}import androidx.compose.ui.graphics.Color
val Rosybrown = Color(0xFFBC8F8F)import 'package:flutter/material.dart';
const rosybrown = Color(0xFFBC8F8F);<!-- res/values/colors.xml -->
<color name="rosybrown">#BC8F8F</color>Frequently asked questions
- What is the hex code for rosybrown?
- The hex code for rosybrown is #BC8F8F. The same color is rgb(188, 143, 143), hsl(0, 25%, 65%) and oklch(69.3% 0.055 18.6), and in CSS you can also write the keyword rosybrown directly.
- Is rosybrown a warm or cool color?
- RosyBrown is a warm color: its hue is 0° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
- What colors go with rosybrown?
- Rotating the hue in OKLCH while keeping lightness and chroma, rosybrown's complementary color is #73A7A9 (close to cadetblue), its analogous colors are #B78FA2 and #B9937F, and its triadic partners are #8CA584 and #889EBF. For text on top, black gives the higher contrast.
- Can you use white text on rosybrown?
- White text on rosybrown has a contrast ratio of 2.81:1, which fails AA even for large text under WCAG 2.2. Black text reaches 7.46:1 and passes both AA and AAA. In APCA terms that is Lc −59.3 for white and Lc 50.0 for black.
- What is the RGB value of rosybrown?
- RosyBrown is rgb(188, 143, 143): red 188, green 143 and blue 143 on the 0 to 255 scale, or 73.7%, 56.1% and 56.1%. As a decimal integer it is 12357519.
Last reviewed by Arielton Oberek.