#5F1414#5F1414

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

Color values

HEX#5F1414
RGBrgb(95, 20, 20)
HSLhsl(0, 65%, 23%)
HSVhsv(0, 79%, 37%)
CMYKcmyk(0%, 78.9%, 78.9%, 62.7%)
CIE-LABlab(19.98, 33.45, 20.59)
CIE-LCHlch(19.98, 39.28, 31.61°)
OKLaboklab(32.31% 0.0969 0.0464)
OKLCHoklch(32.31% 0.107 25.6)
XYZxyz(5.0963, 2.9845, 0.9694)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1414 #145F5F
analogous
#5F1439 #5F1414 #5F3914
triadic
#5F1414 #145F14 #14145F
tetradic
#5F1414 #395F14 #145F5F #39145F
square
#5F1414 #395F14 #145F5F #39145F
split-complementary
#5F1414 #145F39 #14395F
monochromatic
#190505 #2C0909 #5F1414 #921F1F #C42929

Accessibility & contrast

On white

13.15
#5F1414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1414
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1414#FFFFFF#000000##FFFFFF
##5F14141.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2613
Deuteranopia (green-blind)
#3D3611
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1414;
/* rgb */ color: rgb(95, 20, 20);
/* oklch */ color: oklch(32.3% 0.107 25.6);
Tailwind
colors: {
  custom: {
    50: '#935851',
    500: '#5f1414',
    950: '#000000',
  },
}
SCSS
$custom: #5f1414;
$custom-light: #935851;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1414",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 20
  },
  "hsl": {
    "h": 0,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3231,
    "c": 0.10747,
    "h": 25.6
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#5F1414
secondary
#389797
accent
#E8E840
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1414

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

Preview Lab → · Contrast checker → · Palette generator →

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