#5D121E#5D121E

#5D121E is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.106 H 17.1°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#5D121E
RGBrgb(93, 18, 30)
HSLhsl(350, 68%, 22%)
HSVhsv(350, 81%, 36%)
CMYKcmyk(0%, 80.6%, 67.7%, 63.5%)
CIE-LABlab(19.45, 34.11, 12.99)
CIE-LCHlch(19.45, 36.50, 20.85°)
OKLaboklab(31.89% 0.1017 0.0313)
OKLCHoklch(31.89% 0.106 17.1)
XYZxyz(4.9654, 2.8542, 1.5175)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D121E #125D51
analogous
#5D1244 #5D121E #5D2C12
triadic
#5D121E #1E5D12 #121E5D
tetradic
#5D121E #445D12 #125D51 #2C125D
square
#5D121E #445D12 #125D51 #2C125D
split-complementary
#5D121E #125D2C #12445D
monochromatic
#1A0508 #2A080D #5D121E #901C2F #C4263F

Accessibility & contrast

On white

13.37
#5D121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5D121E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D121E
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D121E#FFFFFF#000000##FFFFFF
##5D121E1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251E
Deuteranopia (green-blind)
#3A351C
Tritanopia (blue-blind)
#670017
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d121e;
/* rgb */ color: rgb(93, 18, 30);
/* oklch */ color: oklch(31.9% 0.106 17.1);
Tailwind
colors: {
  custom: {
    50: '#915759',
    500: '#5d121e',
    950: '#000000',
  },
}
SCSS
$custom: #5d121e;
$custom-light: #915759;
$custom-dark: #000000;
JSON
{
  "hex": "#5d121e",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 350.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31893,
    "c": 0.10645,
    "h": 17.1
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#5D121E
secondary
#359586
accent
#EACF3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5D121E

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

Preview Lab → · Contrast checker → · Palette generator →

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