#5D121C#5D121C

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

Color values

HEX#5D121C
RGBrgb(93, 18, 28)
HSLhsl(352, 68%, 22%)
HSVhsv(352, 81%, 36%)
CMYKcmyk(0%, 80.6%, 69.9%, 63.5%)
CIE-LABlab(19.41, 33.98, 14.34)
CIE-LCHlch(19.41, 36.88, 22.88°)
OKLaboklab(31.85% 0.1009 0.0342)
OKLCHoklch(31.85% 0.106 18.7)
XYZxyz(4.9406, 2.8443, 1.3872)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D121C #125D53
analogous
#5D1242 #5D121C #5D2E12
triadic
#5D121C #1C5D12 #121C5D
tetradic
#5D121C #425D12 #125D53 #2E125D
square
#5D121C #425D12 #125D53 #2E125D
split-complementary
#5D121C #125D2E #12425D
monochromatic
#1A0508 #2A080D #5D121C #901C2B #C4263B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D121C#FFFFFF#000000##FFFFFF
##5D121C1.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)
#27251C
Deuteranopia (green-blind)
#3A351A
Tritanopia (blue-blind)
#670016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d121c;
/* rgb */ color: rgb(93, 18, 28);
/* oklch */ color: oklch(31.9% 0.106 18.7);
Tailwind
colors: {
  custom: {
    50: '#915757',
    500: '#5d121c',
    950: '#000000',
  },
}
SCSS
$custom: #5d121c;
$custom-light: #915757;
$custom-dark: #000000;
JSON
{
  "hex": "#5d121c",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 352,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3185,
    "c": 0.10649,
    "h": 18.7
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#5D121C
secondary
#359589
accent
#EAD33D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5D121C

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

Preview Lab → · Contrast checker → · Palette generator →

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