#5F201B#5F201B

#5F201B is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.9% C 0.093 H 27.6°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#5F201B
RGBrgb(95, 32, 27)
HSLhsl(4, 56%, 24%)
HSVhsv(4, 72%, 37%)
CMYKcmyk(0%, 66.3%, 71.6%, 62.7%)
CIE-LABlab(22.11, 28.36, 18.46)
CIE-LCHlch(22.11, 33.84, 33.07°)
OKLaboklab(33.94% 0.0825 0.0432)
OKLCHoklch(33.94% 0.093 27.6)
XYZxyz(5.4342, 3.5458, 1.4349)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F201B #1B5A5F
analogous
#5F1B38 #5F201B #5F421B
triadic
#5F201B #1B5F20 #201B5F
tetradic
#5F201B #385F1B #1B5A5F #421B5F
square
#5F201B #385F1B #1B5A5F #421B5F
split-complementary
#5F201B #1B5F42 #1B385F
monochromatic
#180807 #2F100D #5F201B #8F3029 #BE4036

Accessibility & contrast

On white

12.29
#5F201B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5F201B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F201B
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F201B#FFFFFF#000000##FFFFFF
##5F201B1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C1A
Deuteranopia (green-blind)
#403A19
Tritanopia (blue-blind)
#69121F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f201b;
/* rgb */ color: rgb(95, 32, 27);
/* oklch */ color: oklch(33.9% 0.093 27.6);
Tailwind
colors: {
  custom: {
    50: '#925f57',
    500: '#5f201b',
    950: '#000000',
  },
}
SCSS
$custom: #5f201b;
$custom-light: #925f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f201b",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 27
  },
  "hsl": {
    "h": 4.412,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33938,
    "c": 0.09314,
    "h": 27.6
  },
  "luminance": 0.03545
}

Semantic roles & 50–950 ramp

primary
#5F201B
secondary
#418E95
accent
#D4DF49
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F201B

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

Preview Lab → · Contrast checker → · Palette generator →

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