#5E1221#5E1221

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

Color values

HEX#5E1221
RGBrgb(94, 18, 33)
HSLhsl(348, 68%, 22%)
HSVhsv(348, 81%, 37%)
CMYKcmyk(0%, 80.9%, 64.9%, 63.1%)
CIE-LABlab(19.73, 34.66, 11.29)
CIE-LCHlch(19.73, 36.45, 18.04°)
OKLaboklab(32.16% 0.104 0.0276)
OKLCHoklch(32.16% 0.108 14.9)
XYZxyz(5.1074, 2.9229, 1.7338)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1221 #125E4F
analogous
#5E1247 #5E1221 #5E2912
triadic
#5E1221 #215E12 #12215E
tetradic
#5E1221 #475E12 #125E4F #29125E
square
#5E1221 #475E12 #125E4F #29125E
split-complementary
#5E1221 #125E29 #12475E
monochromatic
#1A0509 #2B080F #5E1221 #911C33 #C52645

Accessibility & contrast

On white

13.25
#5E1221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1221
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1221#FFFFFF#000000##FFFFFF
##5E12211.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1221;
/* rgb */ color: rgb(94, 18, 33);
/* oklch */ color: oklch(32.2% 0.108 14.9);
Tailwind
colors: {
  custom: {
    50: '#91585b',
    500: '#5e1221',
    950: '#000000',
  },
}
SCSS
$custom: #5e1221;
$custom-light: #91585b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1221",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 33
  },
  "hsl": {
    "h": 348.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32163,
    "c": 0.10763,
    "h": 14.9
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#5E1221
secondary
#359683
accent
#EBC83D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5E1221

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

Preview Lab → · Contrast checker → · Palette generator →

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