#5E1021#5E1021

#5E1021 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.110 H 14.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#5E1021
RGBrgb(94, 16, 33)
HSLhsl(347, 71%, 22%)
HSVhsv(347, 83%, 37%)
CMYKcmyk(0%, 83%, 64.9%, 63.1%)
CIE-LABlab(19.48, 35.38, 10.95)
CIE-LCHlch(19.48, 37.03, 17.20°)
OKLaboklab(31.97% 0.1063 0.0268)
OKLCHoklch(31.97% 0.11 14.2)
XYZxyz(5.0764, 2.8608, 1.7234)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1021 #105E4D
analogous
#5E1048 #5E1021 #5E2610
triadic
#5E1021 #215E10 #10215E
tetradic
#5E1021 #485E10 #105E4D #26105E
square
#5E1021 #485E10 #105E4D #26105E
split-complementary
#5E1021 #105E26 #10485E
monochromatic
#1A0409 #2A070F #5E1021 #921933 #C72246

Accessibility & contrast

On white

13.36
#5E1021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5E1021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1021
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1021#FFFFFF#000000##FFFFFF
##5E10211.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262521
Deuteranopia (green-blind)
#3A351F
Tritanopia (blue-blind)
#680017
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e1021;
/* rgb */ color: rgb(94, 16, 33);
/* oklch */ color: oklch(32.0% 0.110 14.2);
Tailwind
colors: {
  custom: {
    50: '#91575b',
    500: '#5e1021',
    950: '#000000',
  },
}
SCSS
$custom: #5e1021;
$custom-light: #91575b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1021",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 33
  },
  "hsl": {
    "h": 346.923,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31974,
    "c": 0.10966,
    "h": 14.2
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#5E1021
secondary
#339781
accent
#EEC73A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5E1021

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

Preview Lab → · Contrast checker → · Palette generator →

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