#571218#571218

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

Color values

HEX#571218
RGBrgb(87, 18, 24)
HSLhsl(355, 66%, 21%)
HSVhsv(355, 79%, 34%)
CMYKcmyk(0%, 79.3%, 72.4%, 65.9%)
CIE-LABlab(18.03, 31.63, 15.12)
CIE-LCHlch(18.03, 35.06, 25.55°)
OKLaboklab(30.57% 0.0933 0.0356)
OKLCHoklch(30.57% 0.1 20.9)
XYZxyz(4.3121, 2.5254, 1.1244)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571218 #125751
analogous
#57123A #571218 #572E12
triadic
#571218 #185712 #121857
tetradic
#571218 #3A5712 #125751 #2E1257
square
#571218 #3A5712 #125751 #2E1257
split-complementary
#571218 #12572E #123A57
monochromatic
#190507 #24080A #571218 #8A1C26 #BC2734

Accessibility & contrast

On white

13.95
#571218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#571218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571218
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571218#FFFFFF#000000##FFFFFF
##5712181.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262318
Deuteranopia (green-blind)
#373116
Tritanopia (blue-blind)
#600015
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #571218;
/* rgb */ color: rgb(87, 18, 24);
/* oklch */ color: oklch(30.6% 0.100 20.9);
Tailwind
colors: {
  custom: {
    50: '#8c5654',
    500: '#571218',
    950: '#000000',
  },
}
SCSS
$custom: #571218;
$custom-light: #8c5654;
$custom-dark: #000000;
JSON
{
  "hex": "#571218",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 354.783,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30567,
    "c": 0.09989,
    "h": 20.9
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#571218
secondary
#359088
accent
#E9DA3F
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #571218

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

Preview Lab → · Contrast checker → · Palette generator →

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