#5F0F0F#5F0F0F

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

Color values

HEX#5F0F0F
RGBrgb(95, 15, 15)
HSLhsl(0, 73%, 22%)
HSVhsv(0, 84%, 37%)
CMYKcmyk(0%, 84.2%, 84.2%, 62.7%)
CIE-LABlab(19.27, 35.05, 22.74)
CIE-LCHlch(19.27, 41.79, 32.98°)
OKLaboklab(31.76% 0.1008 0.0503)
OKLCHoklch(31.76% 0.113 26.5)
XYZxyz(4.9770, 2.8098, 0.7321)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F0F #0F5F5F
analogous
#5F0F37 #5F0F0F #5F370F
triadic
#5F0F0F #0F5F0F #0F0F5F
tetradic
#5F0F0F #375F0F #0F5F5F #370F5F
square
#5F0F0F #375F0F #0F5F5F #370F5F
split-complementary
#5F0F0F #0F5F37 #0F375F
monochromatic
#1A0404 #2A0707 #5F0F0F #941717 #C92020

Accessibility & contrast

On white

13.45
#5F0F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F0F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F0F#FFFFFF#000000##FFFFFF
##5F0F0F1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28240E
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#690010
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0f0f;
/* rgb */ color: rgb(95, 15, 15);
/* oklch */ color: oklch(31.8% 0.113 26.5);
Tailwind
colors: {
  custom: {
    50: '#94564e',
    500: '#5f0f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f0f;
$custom-light: #94564e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f0f",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 15
  },
  "hsl": {
    "h": 0,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31756,
    "c": 0.11264,
    "h": 26.5
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#5F0F0F
secondary
#329898
accent
#EFEF38
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5F0F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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