#5F190D#5F190D

#5F190D is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.8% C 0.104 H 32.2°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#5F190D
RGBrgb(95, 25, 13)
HSLhsl(9, 76%, 21%)
HSVhsv(9, 86%, 37%)
CMYKcmyk(0%, 73.7%, 86.3%, 62.7%)
CIE-LABlab(20.67, 31.04, 25.34)
CIE-LCHlch(20.67, 40.07, 39.23°)
OKLaboklab(32.79% 0.0878 0.0553)
OKLCHoklch(32.79% 0.104 32.2)
XYZxyz(5.1402, 3.1580, 0.7196)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F190D #0D535F
analogous
#5F0D2A #5F190D #5F420D
triadic
#5F190D #0D5F19 #190D5F
tetradic
#5F190D #2A5F0D #0D535F #420D5F
square
#5F190D #2A5F0D #0D535F #420D5F
split-complementary
#5F190D #0D5F42 #0D2A5F
monochromatic
#1B0704 #290B06 #5F190D #952714 #CB351C

Accessibility & contrast

On white

12.87
#5F190D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F190D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F190D#FFFFFF#000000##FFFFFF
##5F190D1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280B
Deuteranopia (green-blind)
#3F370A
Tritanopia (blue-blind)
#690217
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f190d;
/* rgb */ color: rgb(95, 25, 13);
/* oklch */ color: oklch(32.8% 0.104 32.2);
Tailwind
colors: {
  custom: {
    50: '#935b4d',
    500: '#5f190d',
    950: '#000000',
  },
}
SCSS
$custom: #5f190d;
$custom-light: #935b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f190d",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 13
  },
  "hsl": {
    "h": 8.78,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32794,
    "c": 0.10375,
    "h": 32.2
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#5F190D
secondary
#2F8999
accent
#D7F335
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F190D

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

Preview Lab → · Contrast checker → · Palette generator →

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