#5E1223#5E1223

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

Color values

HEX#5E1223
RGBrgb(94, 18, 35)
HSLhsl(347, 68%, 22%)
HSVhsv(347, 81%, 37%)
CMYKcmyk(0%, 80.9%, 62.8%, 63.1%)
CIE-LABlab(19.78, 34.81, 9.94)
CIE-LCHlch(19.78, 36.21, 15.94°)
OKLaboklab(32.21% 0.1049 0.0246)
OKLCHoklch(32.21% 0.108 13.2)
XYZxyz(5.1363, 2.9344, 1.8857)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1223 #125E4D
analogous
#5E1249 #5E1223 #5E2712
triadic
#5E1223 #235E12 #12235E
tetradic
#5E1223 #495E12 #125E4D #27125E
square
#5E1223 #495E12 #125E4D #27125E
split-complementary
#5E1223 #125E27 #12495E
monochromatic
#1A050A #2B0810 #5E1223 #911C36 #C52649

Accessibility & contrast

On white

13.23
#5E1223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1223
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1223#FFFFFF#000000##FFFFFF
##5E12231.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1223;
/* rgb */ color: rgb(94, 18, 35);
/* oklch */ color: oklch(32.2% 0.108 13.2);
Tailwind
colors: {
  custom: {
    50: '#91585d',
    500: '#5e1223',
    950: '#000000',
  },
}
SCSS
$custom: #5e1223;
$custom-light: #91585d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1223",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 35
  },
  "hsl": {
    "h": 346.579,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32213,
    "c": 0.10776,
    "h": 13.2
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#5E1223
secondary
#359681
accent
#EBC43D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5E1223

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

Preview Lab → · Contrast checker → · Palette generator →

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