#5F141B#5F141B

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

Color values

HEX#5F141B
RGBrgb(95, 20, 27)
HSLhsl(354, 65%, 23%)
HSVhsv(354, 79%, 37%)
CMYKcmyk(0%, 78.9%, 71.6%, 62.7%)
CIE-LABlab(20.10, 33.83, 15.99)
CIE-LCHlch(20.10, 37.42, 25.29°)
OKLaboklab(32.43% 0.0999 0.0377)
OKLCHoklch(32.43% 0.107 20.7)
XYZxyz(5.1679, 3.0131, 1.3462)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F141B #145F58
analogous
#5F1440 #5F141B #5F3214
triadic
#5F141B #1B5F14 #141B5F
tetradic
#5F141B #405F14 #145F58 #32145F
square
#5F141B #405F14 #145F58 #32145F
split-complementary
#5F141B #145F32 #14405F
monochromatic
#190507 #2C090D #5F141B #921F29 #C42938

Accessibility & contrast

On white

13.11
#5F141B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F141B
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F141B#FFFFFF#000000##FFFFFF
##5F141B1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261B
Deuteranopia (green-blind)
#3C3619
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f141b;
/* rgb */ color: rgb(95, 20, 27);
/* oklch */ color: oklch(32.4% 0.107 20.7);
Tailwind
colors: {
  custom: {
    50: '#925857',
    500: '#5f141b',
    950: '#000000',
  },
}
SCSS
$custom: #5f141b;
$custom-light: #925857;
$custom-dark: #000000;
JSON
{
  "hex": "#5f141b",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 27
  },
  "hsl": {
    "h": 354.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32432,
    "c": 0.10673,
    "h": 20.7
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#5F141B
secondary
#38978E
accent
#E8D840
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F141B

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

Preview Lab → · Contrast checker → · Palette generator →

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