#5F190C#5F190C

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

Color values

HEX#5F190C
RGBrgb(95, 25, 12)
HSLhsl(9, 78%, 21%)
HSVhsv(9, 87%, 37%)
CMYKcmyk(0%, 73.7%, 87.4%, 62.7%)
CIE-LABlab(20.66, 31.00, 25.79)
CIE-LCHlch(20.66, 40.33, 39.76°)
OKLaboklab(32.78% 0.0875 0.0562)
OKLCHoklch(32.78% 0.104 32.7)
XYZxyz(5.1339, 3.1555, 0.6865)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F190C #0C525F
analogous
#5F0C28 #5F190C #5F420C
triadic
#5F190C #0C5F19 #190C5F
tetradic
#5F190C #285F0C #0C525F #420C5F
square
#5F190C #285F0C #0C525F #420C5F
split-complementary
#5F190C #0C5F42 #0C285F
monochromatic
#1B0703 #290B05 #5F190C #952713 #CC361A

Accessibility & contrast

On white

12.88
#5F190C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F190C
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F190C#FFFFFF#000000##FFFFFF
##5F190C1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f190c;
/* rgb */ color: rgb(95, 25, 12);
/* oklch */ color: oklch(32.8% 0.104 32.7);
Tailwind
colors: {
  custom: {
    50: '#935a4c',
    500: '#5f190c',
    950: '#000000',
  },
}
SCSS
$custom: #5f190c;
$custom-light: #935a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f190c",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 12
  },
  "hsl": {
    "h": 9.398,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32784,
    "c": 0.10394,
    "h": 32.7
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#5F190C
secondary
#2D8899
accent
#D6F434
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F190C

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

Preview Lab → · Contrast checker → · Palette generator →

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