#5D0F12#5D0F12

#5D0F12 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.4% C 0.110 H 24.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#5D0F12
RGBrgb(93, 15, 18)
HSLhsl(358, 72%, 21%)
HSVhsv(358, 84%, 36%)
CMYKcmyk(0%, 83.9%, 80.6%, 63.5%)
CIE-LABlab(18.86, 34.50, 20.45)
CIE-LCHlch(18.86, 40.11, 30.65°)
OKLaboklab(31.39% 0.1001 0.0459)
OKLCHoklch(31.39% 0.11 24.6)
XYZxyz(4.7948, 2.7132, 0.8434)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F12 #0F5D5A
analogous
#5D0F39 #5D0F12 #5D330F
triadic
#5D0F12 #125D0F #0F125D
tetradic
#5D0F12 #395D0F #0F5D5A #330F5D
square
#5D0F12 #395D0F #0F5D5A #330F5D
split-complementary
#5D0F12 #0F5D33 #0F395D
monochromatic
#1A0405 #280608 #5D0F12 #92171C #C62026

Accessibility & contrast

On white

13.62
#5D0F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5D0F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0F12
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F12#FFFFFF#000000##FFFFFF
##5D0F121.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272311
Deuteranopia (green-blind)
#3A340F
Tritanopia (blue-blind)
#670011
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5d0f12;
/* rgb */ color: rgb(93, 15, 18);
/* oklch */ color: oklch(31.4% 0.110 24.6);
Tailwind
colors: {
  custom: {
    50: '#925650',
    500: '#5d0f12',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f12;
$custom-light: #925650;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f12",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 18
  },
  "hsl": {
    "h": 357.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31385,
    "c": 0.11009,
    "h": 24.6
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#5D0F12
secondary
#319693
accent
#EFE839
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5D0F12

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

Preview Lab → · Contrast checker → · Palette generator →

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