#571212#571212

#571212 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.5% C 0.101 H 25.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#571212
RGBrgb(87, 18, 18)
HSLhsl(0, 66%, 21%)
HSVhsv(0, 79%, 34%)
CMYKcmyk(0%, 79.3%, 79.3%, 65.9%)
CIE-LABlab(17.93, 31.30, 19.03)
CIE-LCHlch(17.93, 36.63, 31.30°)
OKLaboklab(30.46% 0.0908 0.0433)
OKLCHoklch(30.46% 0.101 25.5)
XYZxyz(4.2565, 2.5032, 0.8312)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571212 #125757
analogous
#571234 #571212 #573412
triadic
#571212 #125712 #121257
tetradic
#571212 #345712 #125757 #341257
square
#571212 #345712 #125757 #341257
split-complementary
#571212 #125734 #123457
monochromatic
#190505 #240808 #571212 #8A1C1C #BC2727

Accessibility & contrast

On white

13.99
#571212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#571212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571212
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571212#FFFFFF#000000##FFFFFF
##5712121.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262211
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#600013
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #571212;
/* rgb */ color: rgb(87, 18, 18);
/* oklch */ color: oklch(30.5% 0.101 25.5);
Tailwind
colors: {
  custom: {
    50: '#8d5650',
    500: '#571212',
    950: '#000000',
  },
}
SCSS
$custom: #571212;
$custom-light: #8d5650;
$custom-dark: #000000;
JSON
{
  "hex": "#571212",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 0,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3046,
    "c": 0.10055,
    "h": 25.5
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#571212
secondary
#359090
accent
#E9E93F
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #571212

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

Preview Lab → · Contrast checker → · Palette generator →

#571212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva