#5F1214#5F1214

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

Color values

HEX#5F1214
RGBrgb(95, 18, 20)
HSLhsl(358, 68%, 22%)
HSVhsv(358, 81%, 37%)
CMYKcmyk(0%, 81.1%, 78.9%, 62.7%)
CIE-LABlab(19.71, 34.21, 20.27)
CIE-LCHlch(19.71, 39.77, 30.65°)
OKLaboklab(32.11% 0.0994 0.0457)
OKLCHoklch(32.11% 0.109 24.7)
XYZxyz(5.0625, 2.9168, 0.9581)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1214 #125F5D
analogous
#5F123A #5F1214 #5F3712
triadic
#5F1214 #145F12 #12145F
tetradic
#5F1214 #3A5F12 #125F5D #37125F
square
#5F1214 #3A5F12 #125F5D #37125F
split-complementary
#5F1214 #125F37 #123A5F
monochromatic
#1A0505 #2C0809 #5F1214 #921C1F #C6252A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F1214#FFFFFF#000000##FFFFFF
##5F12141.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)
#292513
Deuteranopia (green-blind)
#3C3611
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1214;
/* rgb */ color: rgb(95, 18, 20);
/* oklch */ color: oklch(32.1% 0.109 24.7);
Tailwind
colors: {
  custom: {
    50: '#935751',
    500: '#5f1214',
    950: '#000000',
  },
}
SCSS
$custom: #5f1214;
$custom-light: #935751;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1214",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 20
  },
  "hsl": {
    "h": 358.442,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32106,
    "c": 0.10937,
    "h": 24.7
  },
  "luminance": 0.02916
}

Semantic roles & 50–950 ramp

primary
#5F1214
secondary
#369795
accent
#EBE63D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F1214

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

Preview Lab → · Contrast checker → · Palette generator →

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