#5F1318#5F1318

#5F1318 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.108 H 22.4°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#5F1318
RGBrgb(95, 19, 24)
HSLhsl(356, 67%, 22%)
HSVhsv(356, 80%, 37%)
CMYKcmyk(0%, 80%, 74.7%, 62.7%)
CIE-LABlab(19.90, 34.04, 17.81)
CIE-LCHlch(19.90, 38.42, 27.62°)
OKLaboklab(32.27% 0.0998 0.0412)
OKLCHoklch(32.27% 0.108 22.4)
XYZxyz(5.1176, 2.9654, 1.1669)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1318 #135F5A
analogous
#5F133E #5F1318 #5F3413
triadic
#5F1318 #185F13 #13185F
tetradic
#5F1318 #3E5F13 #135F5A #34135F
square
#5F1318 #3E5F13 #135F5A #34135F
split-complementary
#5F1318 #135F34 #133E5F
monochromatic
#1A0506 #2C090B #5F1318 #921D25 #C52732

Accessibility & contrast

On white

13.18
#5F1318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5F1318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1318
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1318#FFFFFF#000000##FFFFFF
##5F13181.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292618
Deuteranopia (green-blind)
#3C3616
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1318;
/* rgb */ color: rgb(95, 19, 24);
/* oklch */ color: oklch(32.3% 0.108 22.4);
Tailwind
colors: {
  custom: {
    50: '#935854',
    500: '#5f1318',
    950: '#000000',
  },
}
SCSS
$custom: #5f1318;
$custom-light: #935854;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1318",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 24
  },
  "hsl": {
    "h": 356.053,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32272,
    "c": 0.10798,
    "h": 22.4
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#5F1318
secondary
#379791
accent
#EADE3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1318

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

Preview Lab → · Contrast checker → · Palette generator →

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