#5F1515#5F1515

#5F1515 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.106 H 25.4°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#5F1515
RGBrgb(95, 21, 21)
HSLhsl(0, 64%, 23%)
HSVhsv(0, 78%, 37%)
CMYKcmyk(0%, 77.9%, 77.9%, 62.7%)
CIE-LABlab(20.14, 33.10, 20.10)
CIE-LCHlch(20.14, 38.73, 31.27°)
OKLaboklab(32.43% 0.0961 0.0456)
OKLCHoklch(32.43% 0.106 25.4)
XYZxyz(5.1234, 3.0241, 1.0233)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1515 #155F5F
analogous
#5F153A #5F1515 #5F3A15
triadic
#5F1515 #155F15 #15155F
tetradic
#5F1515 #3A5F15 #155F5F #3A155F
square
#5F1515 #3A5F15 #155F5F #3A155F
split-complementary
#5F1515 #155F3A #153A5F
monochromatic
#190606 #2D0A0A #5F1515 #912020 #C32B2B

Accessibility & contrast

On white

13.09
#5F1515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1515
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1515#FFFFFF#000000##FFFFFF
##5F15151.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2614
Deuteranopia (green-blind)
#3D3612
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1515;
/* rgb */ color: rgb(95, 21, 21);
/* oklch */ color: oklch(32.4% 0.106 25.4);
Tailwind
colors: {
  custom: {
    50: '#935952',
    500: '#5f1515',
    950: '#000000',
  },
}
SCSS
$custom: #5f1515;
$custom-light: #935952;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1515",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 21
  },
  "hsl": {
    "h": 0,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32433,
    "c": 0.10634,
    "h": 25.4
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#5F1515
secondary
#3A9696
accent
#E7E741
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1515

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

Preview Lab → · Contrast checker → · Palette generator →

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