#5F1519#5F1519

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

Color values

HEX#5F1519
RGBrgb(95, 21, 25)
HSLhsl(357, 64%, 23%)
HSVhsv(357, 78%, 37%)
CMYKcmyk(0%, 77.9%, 73.7%, 62.7%)
CIE-LABlab(20.20, 33.31, 17.49)
CIE-LCHlch(20.20, 37.63, 27.70°)
OKLaboklab(32.5% 0.0977 0.0407)
OKLCHoklch(32.5% 0.106 22.6)
XYZxyz(5.1635, 3.0402, 1.2344)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1519 #155F5B
analogous
#5F153E #5F1519 #5F3615
triadic
#5F1519 #195F15 #15195F
tetradic
#5F1519 #3E5F15 #155F5B #36155F
square
#5F1519 #3E5F15 #155F5B #36155F
split-complementary
#5F1519 #155F36 #153E5F
monochromatic
#190607 #2D0A0C #5F1519 #912026 #C32B33

Accessibility & contrast

On white

13.06
#5F1519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F1519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1519
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1519#FFFFFF#000000##FFFFFF
##5F15191.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1519;
/* rgb */ color: rgb(95, 21, 25);
/* oklch */ color: oklch(32.5% 0.106 22.6);
Tailwind
colors: {
  custom: {
    50: '#935955',
    500: '#5f1519',
    950: '#000000',
  },
}
SCSS
$custom: #5f1519;
$custom-light: #935955;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1519",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 25
  },
  "hsl": {
    "h": 356.757,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32501,
    "c": 0.10586,
    "h": 22.6
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#5F1519
secondary
#3A9691
accent
#E7DE41
background
#F9F5F4
surface
#F2E9E8
border
#CCC5C4
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F1519

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

Preview Lab → · Contrast checker → · Palette generator →

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