#5E1218#5E1218

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

Color values

HEX#5E1218
RGBrgb(94, 18, 24)
HSLhsl(355, 68%, 22%)
HSVhsv(355, 81%, 37%)
CMYKcmyk(0%, 80.9%, 74.5%, 63.1%)
CIE-LABlab(19.55, 34.08, 17.33)
CIE-LCHlch(19.55, 38.23, 26.96°)
OKLaboklab(31.97% 0.1001 0.0402)
OKLCHoklch(31.97% 0.108 21.9)
XYZxyz(4.9978, 2.8790, 1.1565)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1218 #125E58
analogous
#5E123E #5E1218 #5E3212
triadic
#5E1218 #185E12 #12185E
tetradic
#5E1218 #3E5E12 #125E58 #32125E
square
#5E1218 #3E5E12 #125E58 #32125E
split-complementary
#5E1218 #125E32 #123E5E
monochromatic
#1A0507 #2B080B #5E1218 #911C25 #C52632

Accessibility & contrast

On white

13.33
#5E1218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1218
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1218#FFFFFF#000000##FFFFFF
##5E12181.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282518
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#680015
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e1218;
/* rgb */ color: rgb(94, 18, 24);
/* oklch */ color: oklch(32.0% 0.108 21.9);
Tailwind
colors: {
  custom: {
    50: '#925754',
    500: '#5e1218',
    950: '#000000',
  },
}
SCSS
$custom: #5e1218;
$custom-light: #925754;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1218",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 355.263,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.10783,
    "h": 21.9
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#5E1218
secondary
#35968F
accent
#EBDD3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5E1218

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

Preview Lab → · Contrast checker → · Palette generator →

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