#5F281B#5F281B

#5F281B is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.2% C 0.084 H 34.6°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#5F281B
RGBrgb(95, 40, 27)
HSLhsl(11, 56%, 24%)
HSVhsv(11, 72%, 37%)
CMYKcmyk(0%, 57.9%, 71.6%, 62.7%)
CIE-LABlab(23.77, 24.01, 20.46)
CIE-LCHlch(23.77, 31.55, 40.43°)
OKLaboklab(35.2% 0.069 0.0476)
OKLCHoklch(35.2% 0.084 34.6)
XYZxyz(5.6765, 4.0303, 1.5157)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F281B #1B525F
analogous
#5F1B30 #5F281B #5F4A1B
triadic
#5F281B #1B5F28 #281B5F
tetradic
#5F281B #305F1B #1B525F #4A1B5F
square
#5F281B #305F1B #1B525F #4A1B5F
split-complementary
#5F281B #1B5F4A #1B305F
monochromatic
#180A07 #2F140D #5F281B #8F3C29 #BE5036

Accessibility & contrast

On white

11.63
#5F281B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5F281B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F281B
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F281B#FFFFFF#000000##FFFFFF
##5F281B1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311A
Deuteranopia (green-blind)
#443D1A
Tritanopia (blue-blind)
#691D25
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f281b;
/* rgb */ color: rgb(95, 40, 27);
/* oklch */ color: oklch(35.2% 0.084 34.6);
Tailwind
colors: {
  custom: {
    50: '#916457',
    500: '#5f281b',
    950: '#000000',
  },
}
SCSS
$custom: #5f281b;
$custom-light: #916457;
$custom-dark: #000000;
JSON
{
  "hex": "#5f281b",
  "rgb": {
    "r": 95,
    "g": 40,
    "b": 27
  },
  "hsl": {
    "h": 11.471,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35195,
    "c": 0.08381,
    "h": 34.6
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#5F281B
secondary
#418595
accent
#C2DF49
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5F281B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5F281B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva