#5E1222#5E1222

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

Color values

HEX#5E1222
RGBrgb(94, 18, 34)
HSLhsl(347, 68%, 22%)
HSVhsv(347, 81%, 37%)
CMYKcmyk(0%, 80.9%, 63.8%, 63.1%)
CIE-LABlab(19.76, 34.74, 10.62)
CIE-LCHlch(19.76, 36.32, 17.00°)
OKLaboklab(32.19% 0.1045 0.0261)
OKLCHoklch(32.19% 0.108 14)
XYZxyz(5.1216, 2.9285, 1.8086)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1222 #125E4E
analogous
#5E1248 #5E1222 #5E2812
triadic
#5E1222 #225E12 #12225E
tetradic
#5E1222 #485E12 #125E4E #28125E
square
#5E1222 #485E12 #125E4E #28125E
split-complementary
#5E1222 #125E28 #12485E
monochromatic
#1A0509 #2B080F #5E1222 #911C35 #C52647

Accessibility & contrast

On white

13.24
#5E1222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5E1222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1222
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1222#FFFFFF#000000##FFFFFF
##5E12221.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272622
Deuteranopia (green-blind)
#3A3520
Tritanopia (blue-blind)
#680019
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1222;
/* rgb */ color: rgb(94, 18, 34);
/* oklch */ color: oklch(32.2% 0.108 14.0);
Tailwind
colors: {
  custom: {
    50: '#91585c',
    500: '#5e1222',
    950: '#000000',
  },
}
SCSS
$custom: #5e1222;
$custom-light: #91585c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1222",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 347.368,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32187,
    "c": 0.10768,
    "h": 14
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#5E1222
secondary
#359682
accent
#EBC63D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5E1222

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

Preview Lab → · Contrast checker → · Palette generator →

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