#5F1815#5F1815

#5F1815 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.8% C 0.103 H 26.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#5F1815
RGBrgb(95, 24, 21)
HSLhsl(2, 64%, 23%)
HSVhsv(2, 78%, 37%)
CMYKcmyk(0%, 74.7%, 77.9%, 62.7%)
CIE-LABlab(20.60, 31.83, 20.63)
CIE-LCHlch(20.60, 37.93, 32.95°)
OKLaboklab(32.78% 0.0921 0.0468)
OKLCHoklch(32.78% 0.103 26.9)
XYZxyz(5.1819, 3.1411, 1.0428)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1815 #155C5F
analogous
#5F1537 #5F1815 #5F3D15
triadic
#5F1815 #155F18 #18155F
tetradic
#5F1815 #375F15 #155C5F #3D155F
square
#5F1815 #375F15 #155C5F #3D155F
split-complementary
#5F1815 #155F3D #15375F
monochromatic
#190606 #2D0B0A #5F1815 #912520 #C3312B

Accessibility & contrast

On white

12.90
#5F1815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F1815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1815
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1815#FFFFFF#000000##FFFFFF
##5F18151.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2814
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#690218
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1815;
/* rgb */ color: rgb(95, 24, 21);
/* oklch */ color: oklch(32.8% 0.103 26.9);
Tailwind
colors: {
  custom: {
    50: '#935a52',
    500: '#5f1815',
    950: '#000000',
  },
}
SCSS
$custom: #5f1815;
$custom-light: #935a52;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1815",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 21
  },
  "hsl": {
    "h": 2.432,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32776,
    "c": 0.10327,
    "h": 26.9
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#5F1815
secondary
#3A9396
accent
#E0E741
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1815

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

Preview Lab → · Contrast checker → · Palette generator →

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