#5E1212#5E1212

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

Color values

HEX#5E1212
RGBrgb(94, 18, 18)
HSLhsl(0, 68%, 22%)
HSVhsv(0, 81%, 37%)
CMYKcmyk(0%, 80.9%, 80.9%, 63.1%)
CIE-LABlab(19.46, 33.77, 21.20)
CIE-LCHlch(19.46, 39.88, 32.12°)
OKLaboklab(31.87% 0.0976 0.0474)
OKLCHoklch(31.87% 0.109 25.9)
XYZxyz(4.9422, 2.8567, 0.8633)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1212 #125E5E
analogous
#5E1238 #5E1212 #5E3812
triadic
#5E1212 #125E12 #12125E
tetradic
#5E1212 #385E12 #125E5E #38125E
square
#5E1212 #385E12 #125E5E #38125E
split-complementary
#5E1212 #125E38 #12385E
monochromatic
#1A0505 #2B0808 #5E1212 #911C1C #C52626

Accessibility & contrast

On white

13.37
#5E1212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1212
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1212#FFFFFF#000000##FFFFFF
##5E12121.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292511
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#680013
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e1212;
/* rgb */ color: rgb(94, 18, 18);
/* oklch */ color: oklch(31.9% 0.109 25.9);
Tailwind
colors: {
  custom: {
    50: '#935750',
    500: '#5e1212',
    950: '#000000',
  },
}
SCSS
$custom: #5e1212;
$custom-light: #935750;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1212",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 0,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31874,
    "c": 0.10852,
    "h": 25.9
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#5E1212
secondary
#359696
accent
#EBEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5E1212

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

Preview Lab → · Contrast checker → · Palette generator →

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