#5F191F#5F191F

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

Color values

HEX#5F191F
RGBrgb(95, 25, 31)
HSLhsl(355, 58%, 24%)
HSVhsv(355, 74%, 37%)
CMYKcmyk(0%, 73.7%, 67.4%, 62.7%)
CIE-LABlab(20.93, 32.00, 14.30)
CIE-LCHlch(20.93, 35.05, 24.07°)
OKLaboklab(33.08% 0.0949 0.0343)
OKLCHoklch(33.08% 0.101 19.9)
XYZxyz(5.3148, 3.2278, 1.6392)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F191F #195F59
analogous
#5F1942 #5F191F #5F3619
triadic
#5F191F #1F5F19 #191F5F
tetradic
#5F191F #425F19 #195F59 #36195F
square
#5F191F #425F19 #195F59 #36195F
split-complementary
#5F191F #195F36 #19425F
monochromatic
#180608 #2F0C0F #5F191F #8F262F #C0323F

Accessibility & contrast

On white

12.76
#5F191F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F191F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F191F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F191F#FFFFFF#000000##FFFFFF
##5F191F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291F
Deuteranopia (green-blind)
#3D381D
Tritanopia (blue-blind)
#69071C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f191f;
/* rgb */ color: rgb(95, 25, 31);
/* oklch */ color: oklch(33.1% 0.101 19.9);
Tailwind
colors: {
  custom: {
    50: '#925b5a',
    500: '#5f191f',
    950: '#000000',
  },
}
SCSS
$custom: #5f191f;
$custom-light: #925b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f191f",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 31
  },
  "hsl": {
    "h": 354.857,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33081,
    "c": 0.10095,
    "h": 19.9
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#5F191F
secondary
#3F958E
accent
#E2D446
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F191F

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

Preview Lab → · Contrast checker → · Palette generator →

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