#5F1715#5F1715

#5F1715 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.104 H 26.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#5F1715
RGBrgb(95, 23, 21)
HSLhsl(2, 64%, 23%)
HSVhsv(2, 78%, 37%)
CMYKcmyk(0%, 75.8%, 77.9%, 62.7%)
CIE-LABlab(20.44, 32.27, 20.45)
CIE-LCHlch(20.44, 38.20, 32.37°)
OKLaboklab(32.66% 0.0934 0.0464)
OKLCHoklch(32.66% 0.104 26.4)
XYZxyz(5.1616, 3.1006, 1.0360)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1715 #155D5F
analogous
#5F1538 #5F1715 #5F3C15
triadic
#5F1715 #155F17 #17155F
tetradic
#5F1715 #385F15 #155D5F #3C155F
square
#5F1715 #385F15 #155D5F #3C155F
split-complementary
#5F1715 #155F3C #15385F
monochromatic
#190606 #2D0B0A #5F1715 #912320 #C32F2B

Accessibility & contrast

On white

12.96
#5F1715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1715
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1715#FFFFFF#000000##FFFFFF
##5F17151.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2714
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1715;
/* rgb */ color: rgb(95, 23, 21);
/* oklch */ color: oklch(32.7% 0.104 26.4);
Tailwind
colors: {
  custom: {
    50: '#935a52',
    500: '#5f1715',
    950: '#000000',
  },
}
SCSS
$custom: #5f1715;
$custom-light: #935a52;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1715",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 21
  },
  "hsl": {
    "h": 1.622,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32658,
    "c": 0.10431,
    "h": 26.4
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#5F1715
secondary
#3A9496
accent
#E2E741
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1715

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

Preview Lab → · Contrast checker → · Palette generator →

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