#5E1217#5E1217

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

Color values

HEX#5E1217
RGBrgb(94, 18, 23)
HSLhsl(356, 68%, 22%)
HSVhsv(356, 81%, 37%)
CMYKcmyk(0%, 80.9%, 75.5%, 63.1%)
CIE-LABlab(19.54, 34.02, 18.00)
CIE-LCHlch(19.54, 38.49, 27.88°)
OKLaboklab(31.95% 0.0996 0.0415)
OKLCHoklch(31.95% 0.108 22.6)
XYZxyz(4.9876, 2.8749, 1.1027)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1217 #125E59
analogous
#5E123D #5E1217 #5E3312
triadic
#5E1217 #175E12 #12175E
tetradic
#5E1217 #3D5E12 #125E59 #33125E
square
#5E1217 #3D5E12 #125E59 #33125E
split-complementary
#5E1217 #125E33 #123D5E
monochromatic
#1A0506 #2B080A #5E1217 #911C24 #C52630

Accessibility & contrast

On white

13.34
#5E1217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1217
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1217#FFFFFF#000000##FFFFFF
##5E12171.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282516
Deuteranopia (green-blind)
#3B3514
Tritanopia (blue-blind)
#680015
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e1217;
/* rgb */ color: rgb(94, 18, 23);
/* oklch */ color: oklch(32.0% 0.108 22.6);
Tailwind
colors: {
  custom: {
    50: '#925753',
    500: '#5e1217',
    950: '#000000',
  },
}
SCSS
$custom: #5e1217;
$custom-light: #925753;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1217",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 23
  },
  "hsl": {
    "h": 356.053,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31954,
    "c": 0.10793,
    "h": 22.6
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#5E1217
secondary
#359690
accent
#EBDF3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5E1217

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

Preview Lab → · Contrast checker → · Palette generator →

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