#5E2121#5E2121

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

Color values

HEX#5E2121
RGBrgb(94, 33, 33)
HSLhsl(0, 48%, 25%)
HSVhsv(0, 65%, 37%)
CMYKcmyk(0%, 64.9%, 64.9%, 63.1%)
CIE-LABlab(22.22, 27.87, 14.55)
CIE-LCHlch(22.22, 31.44, 27.57°)
OKLaboklab(34.02% 0.0824 0.0352)
OKLCHoklch(34.02% 0.09 23.1)
XYZxyz(5.4350, 3.5779, 1.8430)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2121 #215E5E
analogous
#5E2140 #5E2121 #5E4021
triadic
#5E2121 #215E21 #21215E
tetradic
#5E2121 #405E21 #215E5E #40215E
square
#5E2121 #405E21 #215E5E #40215E
split-complementary
#5E2121 #215E40 #21405E
monochromatic
#170808 #311111 #5E2121 #8B3131 #B94141

Accessibility & contrast

On white

12.24
#5E2121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5E2121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2121
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2121#FFFFFF#000000##FFFFFF
##5E21211.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D21
Deuteranopia (green-blind)
#403A1F
Tritanopia (blue-blind)
#671522
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e2121;
/* rgb */ color: rgb(94, 33, 33);
/* oklch */ color: oklch(34.0% 0.090 23.1);
Tailwind
colors: {
  custom: {
    50: '#905f5c',
    500: '#5e2121',
    950: '#000000',
  },
}
SCSS
$custom: #5e2121;
$custom-light: #905f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2121",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 33
  },
  "hsl": {
    "h": 0,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34023,
    "c": 0.08959,
    "h": 23.1
  },
  "luminance": 0.03577
}

Semantic roles & 50–950 ramp

primary
#5E2121
secondary
#499292
accent
#D8D850
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0504
muted
#7E7979

Preview Lab

Preview with #5E2121

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

Preview Lab → · Contrast checker → · Palette generator →

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