#571228#571228

#571228 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.101 H 6.3°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#571228
RGBrgb(87, 18, 40)
HSLhsl(341, 66%, 21%)
HSVhsv(341, 79%, 34%)
CMYKcmyk(0%, 79.3%, 54%, 65.9%)
CIE-LABlab(18.42, 32.92, 4.28)
CIE-LCHlch(18.42, 33.20, 7.41°)
OKLaboklab(30.98% 0.1005 0.0112)
OKLCHoklch(30.98% 0.101 6.3)
XYZxyz(4.5302, 2.6127, 2.2728)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571228 #125741
analogous
#57124A #571228 #571F12
triadic
#571228 #285712 #122857
tetradic
#571228 #4A5712 #125741 #1F1257
square
#571228 #4A5712 #125741 #1F1257
split-complementary
#571228 #12571F #124A57
monochromatic
#19050C #240811 #571228 #8A1C3F #BC2757

Accessibility & contrast

On white

13.79
#571228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571228
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571228#FFFFFF#000000##FFFFFF
##5712281.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232428
Deuteranopia (green-blind)
#353226
Tritanopia (blue-blind)
#5F041B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #571228;
/* rgb */ color: rgb(87, 18, 40);
/* oklch */ color: oklch(31.0% 0.101 6.3);
Tailwind
colors: {
  custom: {
    50: '#8b5761',
    500: '#571228',
    950: '#000000',
  },
}
SCSS
$custom: #571228;
$custom-light: #8b5761;
$custom-dark: #000000;
JSON
{
  "hex": "#571228",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 340.87,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3098,
    "c": 0.10108,
    "h": 6.3
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#571228
secondary
#359073
accent
#E9B33F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #571228

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

Preview Lab → · Contrast checker → · Palette generator →

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