#5F0F1B#5F0F1B

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

Color values

HEX#5F0F1B
RGBrgb(95, 15, 27)
HSLhsl(351, 73%, 22%)
HSVhsv(351, 84%, 37%)
CMYKcmyk(0%, 84.2%, 71.6%, 62.7%)
CIE-LABlab(19.45, 35.64, 15.18)
CIE-LCHlch(19.45, 38.74, 23.07°)
OKLaboklab(31.95% 0.1056 0.0358)
OKLCHoklch(31.95% 0.112 18.7)
XYZxyz(5.0885, 2.8545, 1.3197)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F1B #0F5F53
analogous
#5F0F43 #5F0F1B #5F2B0F
triadic
#5F0F1B #1B5F0F #0F1B5F
tetradic
#5F0F1B #435F0F #0F5F53 #2B0F5F
square
#5F0F1B #435F0F #0F5F53 #2B0F5F
split-complementary
#5F0F1B #0F5F2B #0F435F
monochromatic
#1A0408 #2A070C #5F0F1B #94172A #C92039

Accessibility & contrast

On white

13.37
#5F0F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F1B
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F1B#FFFFFF#000000##FFFFFF
##5F0F1B1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27241B
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0f1b;
/* rgb */ color: rgb(95, 15, 27);
/* oklch */ color: oklch(32.0% 0.112 18.7);
Tailwind
colors: {
  custom: {
    50: '#935657',
    500: '#5f0f1b',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f1b;
$custom-light: #935657;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f1b",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 27
  },
  "hsl": {
    "h": 351,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31953,
    "c": 0.11155,
    "h": 18.7
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#5F0F1B
secondary
#329889
accent
#EFD438
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F0F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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