#571128#571128

#571128 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.102 H 6.0°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#571128
RGBrgb(87, 17, 40)
HSLhsl(340, 67%, 20%)
HSVhsv(340, 80%, 34%)
CMYKcmyk(0%, 80.5%, 54%, 65.9%)
CIE-LABlab(18.28, 33.31, 4.08)
CIE-LCHlch(18.28, 33.56, 6.98°)
OKLaboklab(30.88% 0.1017 0.0107)
OKLCHoklch(30.88% 0.102 6)
XYZxyz(4.5143, 2.5810, 2.2675)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571128 #115740
analogous
#57114B #571128 #571D11
triadic
#571128 #285711 #112857
tetradic
#571128 #4B5711 #115740 #1D1157
square
#571128 #4B5711 #115740 #1D1157
split-complementary
#571128 #11571D #114B57
monochromatic
#1A050C #240710 #571128 #8A1B40 #BD2557

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##571128#FFFFFF#000000##FFFFFF
##5711281.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)
#222428
Deuteranopia (green-blind)
#353226
Tritanopia (blue-blind)
#5F031B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #571128;
/* rgb */ color: rgb(87, 17, 40);
/* oklch */ color: oklch(30.9% 0.102 6.0);
Tailwind
colors: {
  custom: {
    50: '#8b5661',
    500: '#571128',
    950: '#000000',
  },
}
SCSS
$custom: #571128;
$custom-light: #8b5661;
$custom-dark: #000000;
JSON
{
  "hex": "#571128",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 340.286,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30877,
    "c": 0.10227,
    "h": 6
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#571128
secondary
#349072
accent
#EAB13E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #571128

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

Preview Lab → · Contrast checker → · Palette generator →

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