#5F181D#5F181D

#5F181D is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.102 H 21.0°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#5F181D
RGBrgb(95, 24, 29)
HSLhsl(356, 60%, 23%)
HSVhsv(356, 75%, 37%)
CMYKcmyk(0%, 74.7%, 69.5%, 62.7%)
CIE-LABlab(20.73, 32.30, 15.41)
CIE-LCHlch(20.73, 35.79, 25.51°)
OKLaboklab(32.92% 0.0954 0.0366)
OKLCHoklch(32.92% 0.102 21)
XYZxyz(5.2683, 3.1756, 1.4977)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F181D #185F5A
analogous
#5F1840 #5F181D #5F3618
triadic
#5F181D #1D5F18 #181D5F
tetradic
#5F181D #405F18 #185F5A #36185F
square
#5F181D #405F18 #185F5A #36185F
split-complementary
#5F181D #185F36 #18405F
monochromatic
#180607 #2E0C0E #5F181D #90242C #C1313B

Accessibility & contrast

On white

12.84
#5F181D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F181D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F181D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F181D#FFFFFF#000000##FFFFFF
##5F181D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281D
Deuteranopia (green-blind)
#3D371B
Tritanopia (blue-blind)
#69041A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f181d;
/* rgb */ color: rgb(95, 24, 29);
/* oklch */ color: oklch(32.9% 0.102 21.0);
Tailwind
colors: {
  custom: {
    50: '#925a58',
    500: '#5f181d',
    950: '#000000',
  },
}
SCSS
$custom: #5f181d;
$custom-light: #925a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f181d",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 29
  },
  "hsl": {
    "h": 355.775,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32919,
    "c": 0.10224,
    "h": 21
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#5F181D
secondary
#3D958F
accent
#E3D845
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F181D

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

Preview Lab → · Contrast checker → · Palette generator →

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