#571223#571223

#571223 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.100 H 11.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#571223
RGBrgb(87, 18, 35)
HSLhsl(345, 66%, 21%)
HSVhsv(345, 79%, 34%)
CMYKcmyk(0%, 79.3%, 59.8%, 65.9%)
CIE-LABlab(18.28, 32.46, 7.65)
CIE-LCHlch(18.28, 33.35, 13.27°)
OKLaboklab(30.83% 0.0983 0.0193)
OKLCHoklch(30.83% 0.1 11.1)
XYZxyz(4.4506, 2.5808, 1.8536)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571223 #125746
analogous
#571245 #571223 #572312
triadic
#571223 #235712 #122357
tetradic
#571223 #455712 #125746 #231257
square
#571223 #455712 #125746 #231257
split-complementary
#571223 #125723 #124557
monochromatic
#19050A #24080F #571223 #8A1C37 #BC274C

Accessibility & contrast

On white

13.85
#571223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#571223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571223
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571223#FFFFFF#000000##FFFFFF
##5712231.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242423
Deuteranopia (green-blind)
#363221
Tritanopia (blue-blind)
#600219
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #571223;
/* rgb */ color: rgb(87, 18, 35);
/* oklch */ color: oklch(30.8% 0.100 11.1);
Tailwind
colors: {
  custom: {
    50: '#8b565d',
    500: '#571223',
    950: '#000000',
  },
}
SCSS
$custom: #571223;
$custom-light: #8b565d;
$custom-dark: #000000;
JSON
{
  "hex": "#571223",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 35
  },
  "hsl": {
    "h": 345.217,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3083,
    "c": 0.10014,
    "h": 11.1
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#571223
secondary
#359079
accent
#E9BF3F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0304
muted
#7D7879

Preview Lab

Preview with #571223

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

Preview Lab → · Contrast checker → · Palette generator →

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