#5D121B#5D121B

#5D121B is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.8% C 0.107 H 19.5°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#5D121B
RGBrgb(93, 18, 27)
HSLhsl(353, 68%, 22%)
HSVhsv(353, 81%, 36%)
CMYKcmyk(0%, 80.6%, 71%, 63.5%)
CIE-LABlab(19.39, 33.91, 15.01)
CIE-LCHlch(19.39, 37.09, 23.88°)
OKLaboklab(31.83% 0.1004 0.0355)
OKLCHoklch(31.83% 0.107 19.5)
XYZxyz(4.9289, 2.8396, 1.3253)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D121B #125D54
analogous
#5D1241 #5D121B #5D2F12
triadic
#5D121B #1B5D12 #121B5D
tetradic
#5D121B #415D12 #125D54 #2F125D
square
#5D121B #415D12 #125D54 #2F125D
split-complementary
#5D121B #125D2F #12415D
monochromatic
#1A0507 #2A080C #5D121B #901C2A #C42639

Accessibility & contrast

On white

13.39
#5D121B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D121B
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D121B#FFFFFF#000000##FFFFFF
##5D121B1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251B
Deuteranopia (green-blind)
#3A3519
Tritanopia (blue-blind)
#670016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d121b;
/* rgb */ color: rgb(93, 18, 27);
/* oklch */ color: oklch(31.8% 0.107 19.5);
Tailwind
colors: {
  custom: {
    50: '#915757',
    500: '#5d121b',
    950: '#000000',
  },
}
SCSS
$custom: #5d121b;
$custom-light: #915757;
$custom-dark: #000000;
JSON
{
  "hex": "#5d121b",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 27
  },
  "hsl": {
    "h": 352.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31829,
    "c": 0.10651,
    "h": 19.5
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#5D121B
secondary
#35958A
accent
#EAD63D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5D121B

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

Preview Lab → · Contrast checker → · Palette generator →

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