#5E1213#5E1213

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

Color values

HEX#5E1213
RGBrgb(94, 18, 19)
HSLhsl(359, 68%, 22%)
HSVhsv(359, 81%, 37%)
CMYKcmyk(0%, 80.9%, 79.8%, 63.1%)
CIE-LABlab(19.47, 33.82, 20.60)
CIE-LCHlch(19.47, 39.60, 31.34°)
OKLaboklab(31.89% 0.098 0.0463)
OKLCHoklch(31.89% 0.108 25.3)
XYZxyz(4.9505, 2.8601, 0.9074)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1213 #125E5D
analogous
#5E1239 #5E1213 #5E3712
triadic
#5E1213 #135E12 #12135E
tetradic
#5E1213 #395E12 #125E5D #37125E
square
#5E1213 #395E12 #125E5D #37125E
split-complementary
#5E1213 #125E37 #12395E
monochromatic
#1A0505 #2B0809 #5E1213 #911C1D #C52628

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E1213#FFFFFF#000000##FFFFFF
##5E12131.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)
#292512
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#680013
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e1213;
/* rgb */ color: rgb(94, 18, 19);
/* oklch */ color: oklch(31.9% 0.108 25.3);
Tailwind
colors: {
  custom: {
    50: '#925750',
    500: '#5e1213',
    950: '#000000',
  },
}
SCSS
$custom: #5e1213;
$custom-light: #925750;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1213",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 19
  },
  "hsl": {
    "h": 359.211,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31888,
    "c": 0.10839,
    "h": 25.3
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#5E1213
secondary
#359695
accent
#EBE83D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5E1213

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

Preview Lab → · Contrast checker → · Palette generator →

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