#5E1121#5E1121

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

Color values

HEX#5E1121
RGBrgb(94, 17, 33)
HSLhsl(348, 69%, 22%)
HSVhsv(348, 82%, 37%)
CMYKcmyk(0%, 81.9%, 64.9%, 63.1%)
CIE-LABlab(19.60, 35.03, 11.12)
CIE-LCHlch(19.60, 36.75, 17.61°)
OKLaboklab(32.07% 0.1052 0.0272)
OKLCHoklch(32.07% 0.109 14.5)
XYZxyz(5.0916, 2.8911, 1.7285)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1121 #115E4E
analogous
#5E1148 #5E1121 #5E2811
triadic
#5E1121 #215E11 #11215E
tetradic
#5E1121 #485E11 #115E4E #28115E
square
#5E1121 #485E11 #115E4E #28115E
split-complementary
#5E1121 #115E28 #11485E
monochromatic
#1A0509 #2A080F #5E1121 #921A33 #C62445

Accessibility & contrast

On white

13.31
#5E1121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1121
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1121#FFFFFF#000000##FFFFFF
##5E11211.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262521
Deuteranopia (green-blind)
#3A351F
Tritanopia (blue-blind)
#680018
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e1121;
/* rgb */ color: rgb(94, 17, 33);
/* oklch */ color: oklch(32.1% 0.109 14.5);
Tailwind
colors: {
  custom: {
    50: '#91575b',
    500: '#5e1121',
    950: '#000000',
  },
}
SCSS
$custom: #5e1121;
$custom-light: #91575b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1121",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 33
  },
  "hsl": {
    "h": 347.532,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32067,
    "c": 0.10865,
    "h": 14.5
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#5E1121
secondary
#349782
accent
#ECC73C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5E1121

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

Preview Lab → · Contrast checker → · Palette generator →

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