#5E2212#5E2212

#5E2212 is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.9% C 0.092 H 35.8°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#5E2212
RGBrgb(94, 34, 18)
HSLhsl(13, 68%, 22%)
HSVhsv(13, 81%, 37%)
CMYKcmyk(0%, 63.8%, 80.9%, 63.1%)
CIE-LABlab(22.19, 26.39, 24.21)
CIE-LCHlch(22.19, 35.81, 42.54°)
OKLaboklab(33.92% 0.0745 0.0538)
OKLCHoklch(33.92% 0.092 35.8)
XYZxyz(5.2979, 3.5681, 0.9819)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2212 #124E5E
analogous
#5E1228 #5E2212 #5E4812
triadic
#5E2212 #125E22 #22125E
tetradic
#5E2212 #285E12 #124E5E #48125E
square
#5E2212 #285E12 #124E5E #48125E
split-complementary
#5E2212 #125E48 #12285E
monochromatic
#1A0905 #2B0F08 #5E2212 #91351C #C54726

Accessibility & contrast

On white

12.26
#5E2212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E2212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2212
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2212#FFFFFF#000000##FFFFFF
##5E22121.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D10
Deuteranopia (green-blind)
#413A10
Tritanopia (blue-blind)
#68141F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e2212;
/* rgb */ color: rgb(94, 34, 18);
/* oklch */ color: oklch(33.9% 0.092 35.8);
Tailwind
colors: {
  custom: {
    50: '#916050',
    500: '#5e2212',
    950: '#000000',
  },
}
SCSS
$custom: #5e2212;
$custom-light: #916050;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2212",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 12.632,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33921,
    "c": 0.09193,
    "h": 35.8
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#5E2212
secondary
#358296
accent
#C6EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #5E2212

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

Preview Lab → · Contrast checker → · Palette generator →

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