#5E1220#5E1220

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

Color values

HEX#5E1220
RGBrgb(94, 18, 32)
HSLhsl(349, 68%, 22%)
HSVhsv(349, 81%, 37%)
CMYKcmyk(0%, 80.9%, 66%, 63.1%)
CIE-LABlab(19.71, 34.59, 11.97)
CIE-LCHlch(19.71, 36.60, 19.08°)
OKLaboklab(32.14% 0.1036 0.0291)
OKLCHoklch(32.14% 0.108 15.7)
XYZxyz(5.0936, 2.9173, 1.6611)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1220 #125E50
analogous
#5E1246 #5E1220 #5E2A12
triadic
#5E1220 #205E12 #12205E
tetradic
#5E1220 #465E12 #125E50 #2A125E
square
#5E1220 #465E12 #125E50 #2A125E
split-complementary
#5E1220 #125E2A #12465E
monochromatic
#1A0509 #2B080F #5E1220 #911C31 #C52643

Accessibility & contrast

On white

13.26
#5E1220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5E1220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1220
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1220#FFFFFF#000000##FFFFFF
##5E12201.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272620
Deuteranopia (green-blind)
#3B351E
Tritanopia (blue-blind)
#680018
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1220;
/* rgb */ color: rgb(94, 18, 32);
/* oklch */ color: oklch(32.1% 0.108 15.7);
Tailwind
colors: {
  custom: {
    50: '#91585b',
    500: '#5e1220',
    950: '#000000',
  },
}
SCSS
$custom: #5e1220;
$custom-light: #91585b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1220",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 32
  },
  "hsl": {
    "h": 348.947,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32139,
    "c": 0.10759,
    "h": 15.7
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#5E1220
secondary
#359684
accent
#EBCB3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5E1220

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

Preview Lab → · Contrast checker → · Palette generator →

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