Skip to content

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.

RosyBrown#BC8F8F

A grayish, dusty pink-brown (#bc8f8f). It is one of the few named colors in the muted mauve range.

Color codes for RosyBrown

Color codes for RosyBrown
CSS keywordrosybrown
HEX#BC8F8F
RGBrgb(188, 143, 143)
HSLhsl(0, 25%, 65%)
HWBhwb(0 56% 26%)
OKLCHoklch(69.3% 0.055 18.6)
CMYK (naive, no ICC profile)cmyk(0%, 24%, 24%, 26%)
Decimal12,357,519
Hue familyBrowns 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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on rosybrown7.46:1PassPassPassPass50.0
White text on rosybrown2.81:1FailFailFailFail−59.3
Rosybrown text on white2.81:1FailFailFailFail54.0
Rosybrown text on black7.46:1PassPassPassPass−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)

  1. 5%
    #bf9595
  2. 15%
    #c6a0a0
  3. 25%
    #cdabab
  4. 35%
    #d3b6b6
  5. 45%
    #dac1c1
  6. 55%
    #e1cdcd
  7. 65%
    #e8d8d8
  8. 75%
    #eee3e3
  9. 85%
    #f5eeee
  10. 95%
    #fcf9f9

Shades (mixed with black)

  1. 5%
    #b38888
  2. 15%
    #a07a7a
  3. 25%
    #8d6b6b
  4. 35%
    #7a5d5d
  5. 45%
    #674f4f
  6. 55%
    #554040
  7. 65%
    #423232
  8. 75%
    #2f2424
  9. 85%
    #1c1515
  10. 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.

Color harmonies
HarmonyRotationColor
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

Nearest CSS named colors
ColorHEXΔE OK
darkgray#a9a9a96.9
darksalmon#e9967a8.4
palevioletred#db70938.9

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
taupe-400#aba09c4.7
stone-400#a6a09b5.0
mauve-400#a89ea95.0

Code snippets

CSS
.element {
  color: rosybrown;
  background-color: #bc8f8f;
  border-color: rgb(188 143 143);
  outline-color: oklch(69.3% 0.055 18.6);
}
Tailwind CSS
<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 */
SwiftUI
import SwiftUI

extension Color {
  static let rosybrown = Color(red: 0.737, green: 0.561, blue: 0.561)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Rosybrown = Color(0xFFBC8F8F)
Flutter
import 'package:flutter/material.dart';

const rosybrown = Color(0xFFBC8F8F);
Android XML
<!-- 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.