#571232#571232

#571232 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.105 H 356.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#571232
RGBrgb(87, 18, 50)
HSLhsl(332, 66%, 21%)
HSVhsv(332, 79%, 34%)
CMYKcmyk(0%, 79.3%, 42.5%, 65.9%)
CIE-LABlab(18.76, 34.01, -2.35)
CIE-LCHlch(18.76, 34.09, 356.04°)
OKLaboklab(31.34% 0.1044 -0.0058)
OKLCHoklch(31.34% 0.105 356.8)
XYZxyz(4.7228, 2.6897, 3.2875)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571232 #125737
analogous
#571254 #571232 #571512
triadic
#571232 #325712 #123257
tetradic
#571232 #545712 #125737 #151257
square
#571232 #545712 #125737 #151257
split-complementary
#571232 #125715 #125457
monochromatic
#19050F #240815 #571232 #8A1C4F #BC276C

Accessibility & contrast

On white

13.66
#571232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#571232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571232
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571232#FFFFFF#000000##FFFFFF
##5712321.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202533
Deuteranopia (green-blind)
#333230
Tritanopia (blue-blind)
#5F0920
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #571232;
/* rgb */ color: rgb(87, 18, 50);
/* oklch */ color: oklch(31.3% 0.105 356.8);
Tailwind
colors: {
  custom: {
    50: '#8a5769',
    500: '#571232',
    950: '#000000',
  },
}
SCSS
$custom: #571232;
$custom-light: #8a5769;
$custom-dark: #000000;
JSON
{
  "hex": "#571232",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 332.174,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31336,
    "c": 0.10455,
    "h": 356.8
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#571232
secondary
#359066
accent
#E99A3F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #571232

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

Preview Lab → · Contrast checker → · Palette generator →

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