#5F150D#5F150D

#5F150D is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.108 H 30.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5F150D
RGBrgb(95, 21, 13)
HSLhsl(6, 76%, 21%)
HSVhsv(6, 86%, 37%)
CMYKcmyk(0%, 77.9%, 86.3%, 62.7%)
CIE-LABlab(20.04, 32.76, 24.64)
CIE-LCHlch(20.04, 40.99, 36.95°)
OKLaboklab(32.33% 0.0931 0.0539)
OKLCHoklch(32.33% 0.108 30.1)
XYZxyz(5.0607, 2.9991, 0.6931)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F150D #0D575F
analogous
#5F0D2E #5F150D #5F3E0D
triadic
#5F150D #0D5F15 #150D5F
tetradic
#5F150D #2E5F0D #0D575F #3E0D5F
square
#5F150D #2E5F0D #0D575F #3E0D5F
split-complementary
#5F150D #0D5F3E #0D2E5F
monochromatic
#1B0604 #290906 #5F150D #952114 #CB2D1C

Accessibility & contrast

On white

13.13
#5F150D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5F150D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F150D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F150D#FFFFFF#000000##FFFFFF
##5F150D1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260B
Deuteranopia (green-blind)
#3E3609
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f150d;
/* rgb */ color: rgb(95, 21, 13);
/* oklch */ color: oklch(32.3% 0.108 30.1);
Tailwind
colors: {
  custom: {
    50: '#94594d',
    500: '#5f150d',
    950: '#000000',
  },
}
SCSS
$custom: #5f150d;
$custom-light: #94594d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f150d",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 13
  },
  "hsl": {
    "h": 5.854,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32326,
    "c": 0.10763,
    "h": 30.1
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#5F150D
secondary
#2F8F99
accent
#E0F335
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F150D

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

Preview Lab → · Contrast checker → · Palette generator →

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