#5F201D#5F201D

#5F201D is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.0% C 0.093 H 26.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#5F201D
RGBrgb(95, 32, 29)
HSLhsl(3, 53%, 24%)
HSVhsv(3, 69%, 37%)
CMYKcmyk(0%, 66.3%, 69.5%, 62.7%)
CIE-LABlab(22.14, 28.49, 17.18)
CIE-LCHlch(22.14, 33.27, 31.09°)
OKLaboklab(33.98% 0.0834 0.0406)
OKLCHoklch(33.98% 0.093 26)
XYZxyz(5.4581, 3.5554, 1.5610)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F201D #1D5C5F
analogous
#5F1D3B #5F201D #5F411D
triadic
#5F201D #1D5F20 #201D5F
tetradic
#5F201D #3B5F1D #1D5C5F #411D5F
square
#5F201D #3B5F1D #1D5C5F #411D5F
split-complementary
#5F201D #1D5F41 #1D3B5F
monochromatic
#170807 #30100F #5F201D #8E302B #BD403A

Accessibility & contrast

On white

12.27
#5F201D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F201D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F201D#FFFFFF#000000##FFFFFF
##5F201D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1C
Deuteranopia (green-blind)
#403A1B
Tritanopia (blue-blind)
#691320
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f201d;
/* rgb */ color: rgb(95, 32, 29);
/* oklch */ color: oklch(34.0% 0.093 26.0);
Tailwind
colors: {
  custom: {
    50: '#915f59',
    500: '#5f201d',
    950: '#000000',
  },
}
SCSS
$custom: #5f201d;
$custom-light: #915f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f201d",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 29
  },
  "hsl": {
    "h": 2.727,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33975,
    "c": 0.09275,
    "h": 26
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#5F201D
secondary
#449094
accent
#D6DD4B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F201D

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

Preview Lab → · Contrast checker → · Palette generator →

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