#5F0F15#5F0F15

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

Color values

HEX#5F0F15
RGBrgb(95, 15, 21)
HSLhsl(356, 73%, 22%)
HSVhsv(356, 84%, 37%)
CMYKcmyk(0%, 84.2%, 77.9%, 62.7%)
CIE-LABlab(19.35, 35.31, 19.19)
CIE-LCHlch(19.35, 40.19, 28.52°)
OKLaboklab(31.84% 0.1031 0.0436)
OKLCHoklch(31.84% 0.112 22.9)
XYZxyz(5.0261, 2.8295, 0.9908)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F15 #0F5F59
analogous
#5F0F3D #5F0F15 #5F310F
triadic
#5F0F15 #155F0F #0F155F
tetradic
#5F0F15 #3D5F0F #0F5F59 #310F5F
square
#5F0F15 #3D5F0F #0F5F59 #310F5F
split-complementary
#5F0F15 #0F5F31 #0F3D5F
monochromatic
#1A0406 #2A0709 #5F0F15 #941721 #C9202C

Accessibility & contrast

On white

13.41
#5F0F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F15
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F15#FFFFFF#000000##FFFFFF
##5F0F151.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282414
Deuteranopia (green-blind)
#3B3512
Tritanopia (blue-blind)
#690012
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0f15;
/* rgb */ color: rgb(95, 15, 21);
/* oklch */ color: oklch(31.8% 0.112 22.9);
Tailwind
colors: {
  custom: {
    50: '#935652',
    500: '#5f0f15',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f15;
$custom-light: #935652;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f15",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 21
  },
  "hsl": {
    "h": 355.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31843,
    "c": 0.11194,
    "h": 22.9
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#5F0F15
secondary
#329891
accent
#EFE238
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F0F15

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

Preview Lab → · Contrast checker → · Palette generator →

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