#5E121E#5E121E

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

Color values

HEX#5E121E
RGBrgb(94, 18, 30)
HSLhsl(351, 68%, 22%)
HSVhsv(351, 81%, 37%)
CMYKcmyk(0%, 80.9%, 68.1%, 63.1%)
CIE-LABlab(19.67, 34.45, 13.31)
CIE-LCHlch(19.67, 36.93, 21.13°)
OKLaboklab(32.09% 0.1027 0.032)
OKLCHoklch(32.09% 0.108 17.3)
XYZxyz(5.0673, 2.9068, 1.5223)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E121E #125E52
analogous
#5E1244 #5E121E #5E2C12
triadic
#5E121E #1E5E12 #121E5E
tetradic
#5E121E #445E12 #125E52 #2C125E
square
#5E121E #445E12 #125E52 #2C125E
split-complementary
#5E121E #125E2C #12445E
monochromatic
#1A0508 #2B080E #5E121E #911C2E #C5263F

Accessibility & contrast

On white

13.28
#5E121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E121E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E121E#FFFFFF#000000##FFFFFF
##5E121E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251E
Deuteranopia (green-blind)
#3B351C
Tritanopia (blue-blind)
#680017
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e121e;
/* rgb */ color: rgb(94, 18, 30);
/* oklch */ color: oklch(32.1% 0.108 17.3);
Tailwind
colors: {
  custom: {
    50: '#915759',
    500: '#5e121e',
    950: '#000000',
  },
}
SCSS
$custom: #5e121e;
$custom-light: #915759;
$custom-dark: #000000;
JSON
{
  "hex": "#5e121e",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 350.526,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32093,
    "c": 0.10756,
    "h": 17.3
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#5E121E
secondary
#359687
accent
#EBCF3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5E121E

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

Preview Lab → · Contrast checker → · Palette generator →

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