#5F0F17#5F0F17

#5F0F17 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.9% C 0.112 H 21.6°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#5F0F17
RGBrgb(95, 15, 23)
HSLhsl(354, 73%, 22%)
HSVhsv(354, 84%, 37%)
CMYKcmyk(0%, 84.2%, 75.8%, 62.7%)
CIE-LABlab(19.38, 35.41, 17.86)
CIE-LCHlch(19.38, 39.66, 26.77°)
OKLaboklab(31.88% 0.1039 0.0411)
OKLCHoklch(31.88% 0.112 21.6)
XYZxyz(5.0454, 2.8372, 1.0924)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F17 #0F5F57
analogous
#5F0F3F #5F0F17 #5F2F0F
triadic
#5F0F17 #175F0F #0F175F
tetradic
#5F0F17 #3F5F0F #0F5F57 #2F0F5F
square
#5F0F17 #3F5F0F #0F5F57 #2F0F5F
split-complementary
#5F0F17 #0F5F2F #0F3F5F
monochromatic
#1A0406 #2A070A #5F0F17 #941724 #C92031

Accessibility & contrast

On white

13.40
#5F0F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5F0F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F17
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F17#FFFFFF#000000##FFFFFF
##5F0F171.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272417
Deuteranopia (green-blind)
#3B3514
Tritanopia (blue-blind)
#690013
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0f17;
/* rgb */ color: rgb(95, 15, 23);
/* oklch */ color: oklch(31.9% 0.112 21.6);
Tailwind
colors: {
  custom: {
    50: '#935653',
    500: '#5f0f17',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f17;
$custom-light: #935653;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f17",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 23
  },
  "hsl": {
    "h": 354,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31877,
    "c": 0.11177,
    "h": 21.6
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#5F0F17
secondary
#32988E
accent
#EFDD38
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F0F17

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

Preview Lab → · Contrast checker → · Palette generator →

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