#5F181E#5F181E

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

Color values

HEX#5F181E
RGBrgb(95, 24, 30)
HSLhsl(355, 60%, 23%)
HSVhsv(355, 75%, 37%)
CMYKcmyk(0%, 74.7%, 68.4%, 62.7%)
CIE-LABlab(20.75, 32.37, 14.75)
CIE-LCHlch(20.75, 35.57, 24.50°)
OKLaboklab(32.94% 0.0959 0.0353)
OKLCHoklch(32.94% 0.102 20.2)
XYZxyz(5.2808, 3.1807, 1.5639)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F181E #185F59
analogous
#5F1841 #5F181E #5F3518
triadic
#5F181E #1E5F18 #181E5F
tetradic
#5F181E #415F18 #185F59 #35185F
square
#5F181E #415F18 #185F59 #35185F
split-complementary
#5F181E #185F35 #18415F
monochromatic
#180608 #2E0C0F #5F181E #90242D #C1313D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F181E#FFFFFF#000000##FFFFFF
##5F181E1.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)
#2B281E
Deuteranopia (green-blind)
#3D371C
Tritanopia (blue-blind)
#69051B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f181e;
/* rgb */ color: rgb(95, 24, 30);
/* oklch */ color: oklch(32.9% 0.102 20.2);
Tailwind
colors: {
  custom: {
    50: '#925a59',
    500: '#5f181e',
    950: '#000000',
  },
}
SCSS
$custom: #5f181e;
$custom-light: #925a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f181e",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 354.93,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3294,
    "c": 0.10217,
    "h": 20.2
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#5F181E
secondary
#3D958E
accent
#E3D545
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F181E

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

Preview Lab → · Contrast checker → · Palette generator →

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