#5F191B#5F191B

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

Color values

HEX#5F191B
RGBrgb(95, 25, 27)
HSLhsl(358, 58%, 24%)
HSVhsv(358, 74%, 37%)
CMYKcmyk(0%, 73.7%, 71.6%, 62.7%)
CIE-LABlab(20.86, 31.73, 16.93)
CIE-LCHlch(20.86, 35.97, 28.09°)
OKLaboklab(33% 0.0932 0.0398)
OKLCHoklch(33% 0.101 23.1)
XYZxyz(5.2653, 3.2080, 1.3787)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F191B #195F5D
analogous
#5F193E #5F191B #5F3A19
triadic
#5F191B #1B5F19 #191B5F
tetradic
#5F191B #3E5F19 #195F5D #3A195F
square
#5F191B #3E5F19 #195F5D #3A195F
split-complementary
#5F191B #195F3A #193E5F
monochromatic
#180607 #2F0C0D #5F191B #8F2629 #C03237

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F191B#FFFFFF#000000##FFFFFF
##5F191B1.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)
#2C291A
Deuteranopia (green-blind)
#3E3819
Tritanopia (blue-blind)
#69061A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f191b;
/* rgb */ color: rgb(95, 25, 27);
/* oklch */ color: oklch(33.0% 0.101 23.1);
Tailwind
colors: {
  custom: {
    50: '#925b57',
    500: '#5f191b',
    950: '#000000',
  },
}
SCSS
$custom: #5f191b;
$custom-light: #925b57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f191b",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 27
  },
  "hsl": {
    "h": 358.286,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33,
    "c": 0.10131,
    "h": 23.1
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#5F191B
secondary
#3F9593
accent
#E2DD46
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F191B

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

Preview Lab → · Contrast checker → · Palette generator →

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