#5F201E#5F201E

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

Color values

HEX#5F201E
RGBrgb(95, 32, 30)
HSLhsl(2, 52%, 25%)
HSVhsv(2, 68%, 37%)
CMYKcmyk(0%, 66.3%, 68.4%, 62.7%)
CIE-LABlab(22.16, 28.56, 16.53)
CIE-LCHlch(22.16, 33.00, 30.06°)
OKLaboklab(33.99% 0.0838 0.0393)
OKLCHoklch(33.99% 0.093 25.1)
XYZxyz(5.4707, 3.5604, 1.6272)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F201E #1E5D5F
analogous
#5F1E3D #5F201E #5F411E
triadic
#5F201E #1E5F20 #201E5F
tetradic
#5F201E #3D5F1E #1E5D5F #411E5F
square
#5F201E #3D5F1E #1E5D5F #411E5F
split-complementary
#5F201E #1E5F41 #1E3D5F
monochromatic
#170807 #30100F #5F201E #8E302D #BC3F3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F201E#FFFFFF#000000##FFFFFF
##5F201E1.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)
#302D1D
Deuteranopia (green-blind)
#403A1C
Tritanopia (blue-blind)
#691320
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f201e;
/* rgb */ color: rgb(95, 32, 30);
/* oklch */ color: oklch(34.0% 0.093 25.1);
Tailwind
colors: {
  custom: {
    50: '#915f59',
    500: '#5f201e',
    950: '#000000',
  },
}
SCSS
$custom: #5f201e;
$custom-light: #915f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f201e",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 30
  },
  "hsl": {
    "h": 1.846,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33994,
    "c": 0.09258,
    "h": 25.1
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#5F201E
secondary
#459194
accent
#D7DB4C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F201E

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

Preview Lab → · Contrast checker → · Palette generator →

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