#5D120F#5D120F

#5D120F is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.108 H 27.6°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#5D120F
RGBrgb(93, 18, 15)
HSLhsl(2, 72%, 21%)
HSVhsv(2, 84%, 36%)
CMYKcmyk(0%, 80.6%, 83.9%, 63.5%)
CIE-LABlab(19.20, 33.30, 22.56)
CIE-LCHlch(19.20, 40.22, 34.12°)
OKLaboklab(31.63% 0.0955 0.05)
OKLCHoklch(31.63% 0.108 27.6)
XYZxyz(4.8173, 2.7950, 0.7377)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D120F #0F5A5D
analogous
#5D0F33 #5D120F #5D390F
triadic
#5D120F #0F5D12 #120F5D
tetradic
#5D120F #335D0F #0F5A5D #390F5D
square
#5D120F #335D0F #0F5A5D #390F5D
split-complementary
#5D120F #0F5D39 #0F335D
monochromatic
#1A0504 #280806 #5D120F #921C17 #C62620

Accessibility & contrast

On white

13.47
#5D120F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5D120F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D120F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D120F#FFFFFF#000000##FFFFFF
##5D120F1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240E
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#670012
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d120f;
/* rgb */ color: rgb(93, 18, 15);
/* oklch */ color: oklch(31.6% 0.108 27.6);
Tailwind
colors: {
  custom: {
    50: '#92574e',
    500: '#5d120f',
    950: '#000000',
  },
}
SCSS
$custom: #5d120f;
$custom-light: #92574e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d120f",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 15
  },
  "hsl": {
    "h": 2.308,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31631,
    "c": 0.10784,
    "h": 27.6
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#5D120F
secondary
#319396
accent
#E8EF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5D120F

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

Preview Lab → · Contrast checker → · Palette generator →

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