#5F151E#5F151E

#5F151E is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.106 H 18.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#5F151E
RGBrgb(95, 21, 30)
HSLhsl(353, 64%, 23%)
HSVhsv(353, 78%, 37%)
CMYKcmyk(0%, 77.9%, 68.4%, 62.7%)
CIE-LABlab(20.30, 33.63, 14.17)
CIE-LCHlch(20.30, 36.49, 22.84°)
OKLaboklab(32.6% 0.0999 0.0339)
OKLCHoklch(32.6% 0.106 18.8)
XYZxyz(5.2224, 3.0637, 1.5444)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F151E #155F56
analogous
#5F1543 #5F151E #5F3115
triadic
#5F151E #1E5F15 #151E5F
tetradic
#5F151E #435F15 #155F56 #31155F
square
#5F151E #435F15 #155F56 #31155F
split-complementary
#5F151E #155F31 #15435F
monochromatic
#190608 #2D0A0E #5F151E #91202E #C32B3E

Accessibility & contrast

On white

13.02
#5F151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F151E
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F151E#FFFFFF#000000##FFFFFF
##5F151E1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f151e;
/* rgb */ color: rgb(95, 21, 30);
/* oklch */ color: oklch(32.6% 0.106 18.8);
Tailwind
colors: {
  custom: {
    50: '#925959',
    500: '#5f151e',
    950: '#000000',
  },
}
SCSS
$custom: #5f151e;
$custom-light: #925959;
$custom-dark: #000000;
JSON
{
  "hex": "#5f151e",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 352.703,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.326,
    "c": 0.10552,
    "h": 18.8
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#5F151E
secondary
#3A968B
accent
#E7D341
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F151E

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

Preview Lab → · Contrast checker → · Palette generator →

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