#571217#571217

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

Color values

HEX#571217
RGBrgb(87, 18, 23)
HSLhsl(356, 66%, 21%)
HSVhsv(356, 79%, 34%)
CMYKcmyk(0%, 79.3%, 73.6%, 65.9%)
CIE-LABlab(18.02, 31.57, 15.80)
CIE-LCHlch(18.02, 35.30, 26.59°)
OKLaboklab(30.55% 0.0929 0.037)
OKLCHoklch(30.55% 0.1 21.7)
XYZxyz(4.3019, 2.5214, 1.0706)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571217 #125752
analogous
#571239 #571217 #572F12
triadic
#571217 #175712 #121757
tetradic
#571217 #395712 #125752 #2F1257
square
#571217 #395712 #125752 #2F1257
split-complementary
#571217 #12572F #123957
monochromatic
#190507 #24080A #571217 #8A1C24 #BC2732

Accessibility & contrast

On white

13.96
#571217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571217
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571217#FFFFFF#000000##FFFFFF
##5712171.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262317
Deuteranopia (green-blind)
#373115
Tritanopia (blue-blind)
#600014
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #571217;
/* rgb */ color: rgb(87, 18, 23);
/* oklch */ color: oklch(30.5% 0.100 21.7);
Tailwind
colors: {
  custom: {
    50: '#8c5653',
    500: '#571217',
    950: '#000000',
  },
}
SCSS
$custom: #571217;
$custom-light: #8c5653;
$custom-dark: #000000;
JSON
{
  "hex": "#571217",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 23
  },
  "hsl": {
    "h": 355.652,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30548,
    "c": 0.09997,
    "h": 21.7
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#571217
secondary
#359089
accent
#E9DC3F
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #571217

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

Preview Lab → · Contrast checker → · Palette generator →

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