#5F0F12#5F0F12

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

Color values

HEX#5F0F12
RGBrgb(95, 15, 18)
HSLhsl(358, 73%, 22%)
HSVhsv(358, 84%, 37%)
CMYKcmyk(0%, 84.2%, 81.1%, 62.7%)
CIE-LABlab(19.30, 35.17, 21.08)
CIE-LCHlch(19.30, 41.01, 30.94°)
OKLaboklab(31.8% 0.1019 0.0471)
OKLCHoklch(31.8% 0.112 24.8)
XYZxyz(4.9999, 2.8190, 0.8530)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F12 #0F5F5C
analogous
#5F0F3A #5F0F12 #5F340F
triadic
#5F0F12 #125F0F #0F125F
tetradic
#5F0F12 #3A5F0F #0F5F5C #340F5F
square
#5F0F12 #3A5F0F #0F5F5C #340F5F
split-complementary
#5F0F12 #0F5F34 #0F3A5F
monochromatic
#1A0405 #2A0708 #5F0F12 #94171C #C92026

Accessibility & contrast

On white

13.43
#5F0F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F12
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F12#FFFFFF#000000##FFFFFF
##5F0F121.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0f12;
/* rgb */ color: rgb(95, 15, 18);
/* oklch */ color: oklch(31.8% 0.112 24.8);
Tailwind
colors: {
  custom: {
    50: '#945650',
    500: '#5f0f12',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f12;
$custom-light: #945650;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f12",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 18
  },
  "hsl": {
    "h": 357.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31797,
    "c": 0.11226,
    "h": 24.8
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#5F0F12
secondary
#329894
accent
#EFE938
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F0F12

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

Preview Lab → · Contrast checker → · Palette generator →

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