#5F1315#5F1315

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

Color values

HEX#5F1315
RGBrgb(95, 19, 21)
HSLhsl(358, 67%, 22%)
HSVhsv(358, 80%, 37%)
CMYKcmyk(0%, 80%, 77.9%, 62.7%)
CIE-LABlab(19.86, 33.88, 19.78)
CIE-LCHlch(19.86, 39.23, 30.27°)
OKLaboklab(32.22% 0.0986 0.0449)
OKLCHoklch(32.22% 0.108 24.5)
XYZxyz(5.0881, 2.9536, 1.0115)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1315 #135F5D
analogous
#5F133B #5F1315 #5F3713
triadic
#5F1315 #155F13 #13155F
tetradic
#5F1315 #3B5F13 #135F5D #37135F
square
#5F1315 #3B5F13 #135F5D #37135F
split-complementary
#5F1315 #135F37 #133B5F
monochromatic
#1A0506 #2C090A #5F1315 #921D20 #C5272C

Accessibility & contrast

On white

13.20
#5F1315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1315
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1315#FFFFFF#000000##FFFFFF
##5F13151.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2614
Deuteranopia (green-blind)
#3D3612
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1315;
/* rgb */ color: rgb(95, 19, 21);
/* oklch */ color: oklch(32.2% 0.108 24.5);
Tailwind
colors: {
  custom: {
    50: '#935852',
    500: '#5f1315',
    950: '#000000',
  },
}
SCSS
$custom: #5f1315;
$custom-light: #935852;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1315",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 21
  },
  "hsl": {
    "h": 358.421,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32221,
    "c": 0.10831,
    "h": 24.5
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#5F1315
secondary
#379794
accent
#EAE53E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1315

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

Preview Lab → · Contrast checker → · Palette generator →

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