#5F191C#5F191C

#5F191C is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.0% C 0.101 H 22.3°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#5F191C
RGBrgb(95, 25, 28)
HSLhsl(357, 58%, 24%)
HSVhsv(357, 74%, 37%)
CMYKcmyk(0%, 73.7%, 70.5%, 62.7%)
CIE-LABlab(20.88, 31.79, 16.28)
CIE-LCHlch(20.88, 35.72, 27.11°)
OKLaboklab(33.02% 0.0936 0.0385)
OKLCHoklch(33.02% 0.101 22.3)
XYZxyz(5.2771, 3.2128, 1.4406)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F191C #195F5C
analogous
#5F193F #5F191C #5F3919
triadic
#5F191C #1C5F19 #191C5F
tetradic
#5F191C #3F5F19 #195F5C #39195F
square
#5F191C #3F5F19 #195F5C #39195F
split-complementary
#5F191C #195F39 #193F5F
monochromatic
#180607 #2F0C0E #5F191C #8F262A #C03239

Accessibility & contrast

On white

12.79
#5F191C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F191C
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F191C#FFFFFF#000000##FFFFFF
##5F191C1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291C
Deuteranopia (green-blind)
#3E381A
Tritanopia (blue-blind)
#69061B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f191c;
/* rgb */ color: rgb(95, 25, 28);
/* oklch */ color: oklch(33.0% 0.101 22.3);
Tailwind
colors: {
  custom: {
    50: '#925b58',
    500: '#5f191c',
    950: '#000000',
  },
}
SCSS
$custom: #5f191c;
$custom-light: #925b58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f191c",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 28
  },
  "hsl": {
    "h": 357.429,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33019,
    "c": 0.1012,
    "h": 22.3
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#5F191C
secondary
#3F9591
accent
#E2DB46
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F191C

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

Preview Lab → · Contrast checker → · Palette generator →

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