#5F1018#5F1018

#5F1018 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.111 H 21.3°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#5F1018
RGBrgb(95, 16, 24)
HSLhsl(354, 71%, 22%)
HSVhsv(354, 83%, 37%)
CMYKcmyk(0%, 83.2%, 74.7%, 62.7%)
CIE-LABlab(19.52, 35.13, 17.34)
CIE-LCHlch(19.52, 39.18, 26.27°)
OKLaboklab(31.98% 0.1033 0.0402)
OKLCHoklch(31.98% 0.111 21.3)
XYZxyz(5.0701, 2.8702, 1.1510)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1018 #105F57
analogous
#5F1040 #5F1018 #5F3010
triadic
#5F1018 #185F10 #10185F
tetradic
#5F1018 #405F10 #105F57 #30105F
square
#5F1018 #405F10 #105F57 #30105F
split-complementary
#5F1018 #105F30 #10405F
monochromatic
#1A0407 #2B070B #5F1018 #931925 #C82232

Accessibility & contrast

On white

13.34
#5F1018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5F1018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1018
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1018#FFFFFF#000000##FFFFFF
##5F10181.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282518
Deuteranopia (green-blind)
#3B3515
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f1018;
/* rgb */ color: rgb(95, 16, 24);
/* oklch */ color: oklch(32.0% 0.111 21.3);
Tailwind
colors: {
  custom: {
    50: '#935754',
    500: '#5f1018',
    950: '#000000',
  },
}
SCSS
$custom: #5f1018;
$custom-light: #935754;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1018",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 24
  },
  "hsl": {
    "h": 353.924,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31984,
    "c": 0.1108,
    "h": 21.3
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#5F1018
secondary
#33988E
accent
#EEDC3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F1018

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

Preview Lab → · Contrast checker → · Palette generator →

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