#571242#571242

#571242 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.114 H 342.9°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#571242
RGBrgb(87, 18, 66)
HSLhsl(318, 66%, 21%)
HSVhsv(318, 79%, 34%)
CMYKcmyk(0%, 79.3%, 24.1%, 65.9%)
CIE-LABlab(19.44, 36.18, -12.52)
CIE-LCHlch(19.44, 38.29, 340.91°)
OKLaboklab(32.06% 0.1089 -0.0335)
OKLCHoklch(32.06% 0.114 342.9)
XYZxyz(5.1303, 2.8527, 5.4336)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571242 #125727
analogous
#491257 #571242 #57121F
triadic
#571242 #425712 #124257
tetradic
#571242 #574912 #125727 #121F57
square
#571242 #574912 #125727 #121F57
split-complementary
#571242 #1F5712 #125749
monochromatic
#190513 #24081C #571242 #8A1C68 #BC278F

Accessibility & contrast

On white

13.37
#571242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#571242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571242
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571242#FFFFFF#000000##FFFFFF
##5712421.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192843
Deuteranopia (green-blind)
#2E3340
Tritanopia (blue-blind)
#5D1228
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #571242;
/* rgb */ color: rgb(87, 18, 66);
/* oklch */ color: oklch(32.1% 0.114 342.9);
Tailwind
colors: {
  custom: {
    50: '#895876',
    500: '#571242',
    950: '#000000',
  },
}
SCSS
$custom: #571242;
$custom-light: #895876;
$custom-dark: #000000;
JSON
{
  "hex": "#571242",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 318.261,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32064,
    "c": 0.11395,
    "h": 342.9
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#571242
secondary
#359051
accent
#E9733F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #571242

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

Preview Lab → · Contrast checker → · Palette generator →

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