#5F141F#5F141F

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

Color values

HEX#5F141F
RGBrgb(95, 20, 31)
HSLhsl(351, 65%, 23%)
HSVhsv(351, 79%, 37%)
CMYKcmyk(0%, 78.9%, 67.4%, 62.7%)
CIE-LABlab(20.18, 34.10, 13.32)
CIE-LCHlch(20.18, 36.60, 21.33°)
OKLaboklab(32.52% 0.1016 0.0321)
OKLCHoklch(32.52% 0.107 17.5)
XYZxyz(5.2173, 3.0329, 1.6067)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F141F #145F54
analogous
#5F1444 #5F141F #5F2F14
triadic
#5F141F #1F5F14 #141F5F
tetradic
#5F141F #445F14 #145F54 #2F145F
square
#5F141F #445F14 #145F54 #2F145F
split-complementary
#5F141F #145F2F #14445F
monochromatic
#190508 #2C090F #5F141F #921F2F #C42940

Accessibility & contrast

On white

13.07
#5F141F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F141F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F141F
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F141F#FFFFFF#000000##FFFFFF
##5F141F1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#3C361D
Tritanopia (blue-blind)
#690019
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f141f;
/* rgb */ color: rgb(95, 20, 31);
/* oklch */ color: oklch(32.5% 0.107 17.5);
Tailwind
colors: {
  custom: {
    50: '#92595a',
    500: '#5f141f',
    950: '#000000',
  },
}
SCSS
$custom: #5f141f;
$custom-light: #92595a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f141f",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 31
  },
  "hsl": {
    "h": 351.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32516,
    "c": 0.10657,
    "h": 17.5
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#5F141F
secondary
#389789
accent
#E8CF40
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F141F

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

Preview Lab → · Contrast checker → · Palette generator →

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