#5F1213#5F1213

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

Color values

HEX#5F1213
RGBrgb(95, 18, 19)
HSLhsl(359, 68%, 22%)
HSVhsv(359, 81%, 37%)
CMYKcmyk(0%, 81.1%, 80%, 62.7%)
CIE-LABlab(19.69, 34.17, 20.91)
CIE-LCHlch(19.69, 40.06, 31.46°)
OKLaboklab(32.09% 0.099 0.0469)
OKLCHoklch(32.09% 0.11 25.3)
XYZxyz(5.0538, 2.9133, 0.9122)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1213 #125F5E
analogous
#5F123A #5F1213 #5F3812
triadic
#5F1213 #135F12 #12135F
tetradic
#5F1213 #3A5F12 #125F5E #38125F
square
#5F1213 #3A5F12 #125F5E #38125F
split-complementary
#5F1213 #125F38 #123A5F
monochromatic
#1A0505 #2C0809 #5F1213 #921C1D #C62528

Accessibility & contrast

On white

13.27
#5F1213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1213
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1213#FFFFFF#000000##FFFFFF
##5F12131.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292512
Deuteranopia (green-blind)
#3C3610
Tritanopia (blue-blind)
#690013
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1213;
/* rgb */ color: rgb(95, 18, 19);
/* oklch */ color: oklch(32.1% 0.110 25.3);
Tailwind
colors: {
  custom: {
    50: '#935750',
    500: '#5f1213',
    950: '#000000',
  },
}
SCSS
$custom: #5f1213;
$custom-light: #935750;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1213",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 19
  },
  "hsl": {
    "h": 359.221,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3209,
    "c": 0.1095,
    "h": 25.3
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#5F1213
secondary
#369796
accent
#EBE93D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F1213

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

Preview Lab → · Contrast checker → · Palette generator →

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