#5E201F#5E201F

#5E201F is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.8% C 0.091 H 24.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#5E201F
RGBrgb(94, 32, 31)
HSLhsl(1, 50%, 25%)
HSVhsv(1, 67%, 37%)
CMYKcmyk(0%, 66%, 67%, 63.1%)
CIE-LABlab(21.99, 28.24, 15.60)
CIE-LCHlch(21.99, 32.26, 28.92°)
OKLaboklab(33.83% 0.0832 0.0374)
OKLCHoklch(33.83% 0.091 24.2)
XYZxyz(5.3804, 3.5123, 1.6907)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E201F #1F5D5E
analogous
#5E1F3E #5E201F #5E401F
triadic
#5E201F #1F5E20 #201F5E
tetradic
#5E201F #3E5E1F #1F5D5E #401F5E
square
#5E201F #3E5E1F #1F5D5E #401F5E
split-complementary
#5E201F #1F5E40 #1F3E5E
monochromatic
#170808 #301010 #5E201F #8C302E #BA3F3D

Accessibility & contrast

On white

12.34
#5E201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E201F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E201F
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E201F#FFFFFF#000000##FFFFFF
##5E201F1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1E
Deuteranopia (green-blind)
#3F3A1D
Tritanopia (blue-blind)
#671320
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e201f;
/* rgb */ color: rgb(94, 32, 31);
/* oklch */ color: oklch(33.8% 0.091 24.2);
Tailwind
colors: {
  custom: {
    50: '#905f5a',
    500: '#5e201f',
    950: '#000000',
  },
}
SCSS
$custom: #5e201f;
$custom-light: #905f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e201f",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 0.952,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33834,
    "c": 0.09115,
    "h": 24.2
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#5E201F
secondary
#469193
accent
#D8DA4E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E201F

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

Preview Lab → · Contrast checker → · Palette generator →

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