#5F0F1F#5F0F1F

#5F0F1F is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.112 H 15.7°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#5F0F1F
RGBrgb(95, 15, 31)
HSLhsl(348, 73%, 22%)
HSVhsv(348, 84%, 37%)
CMYKcmyk(0%, 84.2%, 67.4%, 62.7%)
CIE-LABlab(19.53, 35.90, 12.48)
CIE-LCHlch(19.53, 38.00, 19.17°)
OKLaboklab(32.04% 0.1074 0.0302)
OKLCHoklch(32.04% 0.112 15.7)
XYZxyz(5.1380, 2.8742, 1.5803)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F1F #0F5F4F
analogous
#5F0F47 #5F0F1F #5F270F
triadic
#5F0F1F #1F5F0F #0F1F5F
tetradic
#5F0F1F #475F0F #0F5F4F #270F5F
square
#5F0F1F #475F0F #0F5F4F #270F5F
split-complementary
#5F0F1F #0F5F27 #0F475F
monochromatic
#1A0409 #2A070E #5F0F1F #941730 #C92041

Accessibility & contrast

On white

13.34
#5F0F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F1F
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F1F#FFFFFF#000000##FFFFFF
##5F0F1F1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26251F
Deuteranopia (green-blind)
#3B351D
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0f1f;
/* rgb */ color: rgb(95, 15, 31);
/* oklch */ color: oklch(32.0% 0.112 15.7);
Tailwind
colors: {
  custom: {
    50: '#92575a',
    500: '#5f0f1f',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f1f;
$custom-light: #92575a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f1f",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 31
  },
  "hsl": {
    "h": 348,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3204,
    "c": 0.11156,
    "h": 15.7
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#5F0F1F
secondary
#329884
accent
#EFCB38
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F0F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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