#5F1818#5F1818

#5F1818 is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.8% C 0.103 H 24.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#5F1818
RGBrgb(95, 24, 24)
HSLhsl(0, 60%, 23%)
HSVhsv(0, 75%, 37%)
CMYKcmyk(0%, 74.7%, 74.7%, 62.7%)
CIE-LABlab(20.65, 31.99, 18.70)
CIE-LCHlch(20.65, 37.06, 30.30°)
OKLaboklab(32.82% 0.0933 0.0432)
OKLCHoklch(32.82% 0.103 24.8)
XYZxyz(5.2114, 3.1529, 1.1981)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1818 #185F5F
analogous
#5F183B #5F1818 #5F3B18
triadic
#5F1818 #185F18 #18185F
tetradic
#5F1818 #3B5F18 #185F5F #3B185F
square
#5F1818 #3B5F18 #185F5F #3B185F
split-complementary
#5F1818 #185F3B #183B5F
monochromatic
#180606 #2E0C0C #5F1818 #902424 #C13131

Accessibility & contrast

On white

12.88
#5F1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F1818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1818
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1818#FFFFFF#000000##FFFFFF
##5F18181.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2817
Deuteranopia (green-blind)
#3E3716
Tritanopia (blue-blind)
#690319
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1818;
/* rgb */ color: rgb(95, 24, 24);
/* oklch */ color: oklch(32.8% 0.103 24.8);
Tailwind
colors: {
  custom: {
    50: '#925a54',
    500: '#5f1818',
    950: '#000000',
  },
}
SCSS
$custom: #5f1818;
$custom-light: #925a54;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1818",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32825,
    "c": 0.1028,
    "h": 24.8
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#5F1818
secondary
#3D9595
accent
#E3E345
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1818

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

Preview Lab → · Contrast checker → · Palette generator →

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