#5F1215#5F1215

#5F1215 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.109 H 24.1°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#5F1215
RGBrgb(95, 18, 21)
HSLhsl(358, 68%, 22%)
HSVhsv(358, 81%, 37%)
CMYKcmyk(0%, 81.1%, 77.9%, 62.7%)
CIE-LABlab(19.72, 34.26, 19.62)
CIE-LCHlch(19.72, 39.48, 29.80°)
OKLaboklab(32.12% 0.0998 0.0446)
OKLCHoklch(32.12% 0.109 24.1)
XYZxyz(5.0716, 2.9204, 1.0060)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1215 #125F5C
analogous
#5F123C #5F1215 #5F3512
triadic
#5F1215 #155F12 #12155F
tetradic
#5F1215 #3C5F12 #125F5C #35125F
square
#5F1215 #3C5F12 #125F5C #35125F
split-complementary
#5F1215 #125F35 #123C5F
monochromatic
#1A0506 #2C080A #5F1215 #921C20 #C6252C

Accessibility & contrast

On white

13.26
#5F1215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5F1215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1215
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1215#FFFFFF#000000##FFFFFF
##5F12151.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292514
Deuteranopia (green-blind)
#3C3612
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1215;
/* rgb */ color: rgb(95, 18, 21);
/* oklch */ color: oklch(32.1% 0.109 24.1);
Tailwind
colors: {
  custom: {
    50: '#935752',
    500: '#5f1215',
    950: '#000000',
  },
}
SCSS
$custom: #5f1215;
$custom-light: #935752;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1215",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 21
  },
  "hsl": {
    "h": 357.662,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32121,
    "c": 0.10926,
    "h": 24.1
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#5F1215
secondary
#369793
accent
#EBE43D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F1215

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

Preview Lab → · Contrast checker → · Palette generator →

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