#5C1212#5C1212

#5C1212 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.106 H 25.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#5C1212
RGBrgb(92, 18, 18)
HSLhsl(0, 67%, 22%)
HSVhsv(0, 80%, 36%)
CMYKcmyk(0%, 80.4%, 80.4%, 63.9%)
CIE-LABlab(19.02, 33.08, 20.59)
CIE-LCHlch(19.02, 38.96, 31.90°)
OKLaboklab(31.47% 0.0957 0.0462)
OKLCHoklch(31.47% 0.106 25.8)
XYZxyz(4.7397, 2.7523, 0.8538)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1212 #125C5C
analogous
#5C1237 #5C1212 #5C3712
triadic
#5C1212 #125C12 #12125C
tetradic
#5C1212 #375C12 #125C5C #37125C
square
#5C1212 #375C12 #125C5C #37125C
split-complementary
#5C1212 #125C37 #12375C
monochromatic
#1A0505 #290808 #5C1212 #8F1C1C #C22626

Accessibility & contrast

On white

13.54
#5C1212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5C1212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1212
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1212#FFFFFF#000000##FFFFFF
##5C12121.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282411
Deuteranopia (green-blind)
#3B340F
Tritanopia (blue-blind)
#660013
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c1212;
/* rgb */ color: rgb(92, 18, 18);
/* oklch */ color: oklch(31.5% 0.106 25.8);
Tailwind
colors: {
  custom: {
    50: '#915750',
    500: '#5c1212',
    950: '#000000',
  },
}
SCSS
$custom: #5c1212;
$custom-light: #915750;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1212",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 0,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31469,
    "c": 0.10627,
    "h": 25.8
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#5C1212
secondary
#359494
accent
#EAEA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C1212

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

Preview Lab → · Contrast checker → · Palette generator →

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