#5F0F13#5F0F13

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

Color values

HEX#5F0F13
RGBrgb(95, 15, 19)
HSLhsl(357, 73%, 22%)
HSVhsv(357, 84%, 37%)
CMYKcmyk(0%, 84.2%, 80%, 62.7%)
CIE-LABlab(19.32, 35.22, 20.48)
CIE-LCHlch(19.32, 40.74, 30.18°)
OKLaboklab(31.81% 0.1023 0.046)
OKLCHoklch(31.81% 0.112 24.2)
XYZxyz(5.0083, 2.8224, 0.8970)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F13 #0F5F5B
analogous
#5F0F3B #5F0F13 #5F330F
triadic
#5F0F13 #135F0F #0F135F
tetradic
#5F0F13 #3B5F0F #0F5F5B #330F5F
square
#5F0F13 #3B5F0F #0F5F5B #330F5F
split-complementary
#5F0F13 #0F5F33 #0F3B5F
monochromatic
#1A0405 #2A0708 #5F0F13 #94171E #C92028

Accessibility & contrast

On white

13.42
#5F0F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5F0F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F13
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F13#FFFFFF#000000##FFFFFF
##5F0F131.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282412
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#690011
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0f13;
/* rgb */ color: rgb(95, 15, 19);
/* oklch */ color: oklch(31.8% 0.112 24.2);
Tailwind
colors: {
  custom: {
    50: '#935650',
    500: '#5f0f13',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f13;
$custom-light: #935650;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f13",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 19
  },
  "hsl": {
    "h": 357,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31811,
    "c": 0.11215,
    "h": 24.2
  },
  "luminance": 0.02822
}

Semantic roles & 50–950 ramp

primary
#5F0F13
secondary
#329893
accent
#EFE638
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F0F13

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

Preview Lab → · Contrast checker → · Palette generator →

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