#5F1412#5F1412

#5F1412 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.108 H 26.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#5F1412
RGBrgb(95, 20, 18)
HSLhsl(2, 68%, 22%)
HSVhsv(2, 81%, 37%)
CMYKcmyk(0%, 78.9%, 81.1%, 62.7%)
CIE-LABlab(19.95, 33.36, 21.82)
CIE-LCHlch(19.95, 39.86, 33.20°)
OKLaboklab(32.28% 0.0962 0.0486)
OKLCHoklch(32.28% 0.108 26.8)
XYZxyz(5.0792, 2.9777, 0.8795)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1412 #125D5F
analogous
#5F1237 #5F1412 #5F3A12
triadic
#5F1412 #125F14 #14125F
tetradic
#5F1412 #375F12 #125D5F #3A125F
square
#5F1412 #375F12 #125D5F #3A125F
split-complementary
#5F1412 #125F3A #12375F
monochromatic
#1A0505 #2C0908 #5F1412 #921F1C #C62A25

Accessibility & contrast

On white

13.16
#5F1412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5F1412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1412
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1412#FFFFFF#000000##FFFFFF
##5F14121.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2611
Deuteranopia (green-blind)
#3D360F
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1412;
/* rgb */ color: rgb(95, 20, 18);
/* oklch */ color: oklch(32.3% 0.108 26.8);
Tailwind
colors: {
  custom: {
    50: '#935850',
    500: '#5f1412',
    950: '#000000',
  },
}
SCSS
$custom: #5f1412;
$custom-light: #935850;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1412",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 18
  },
  "hsl": {
    "h": 1.558,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3228,
    "c": 0.10776,
    "h": 26.8
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#5F1412
secondary
#369597
accent
#E6EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1412

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

Preview Lab → · Contrast checker → · Palette generator →

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