#571B31#571B31

#571B31 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.091 H 0.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#571B31
RGBrgb(87, 27, 49)
HSLhsl(338, 53%, 22%)
HSVhsv(338, 69%, 34%)
CMYKcmyk(0%, 69%, 43.7%, 65.9%)
CIE-LABlab(20.17, 29.88, 0.43)
CIE-LCHlch(20.17, 29.88, 0.83°)
OKLaboklab(32.37% 0.0913 0.0015)
OKLCHoklch(32.37% 0.091 0.9)
XYZxyz(4.8771, 3.0324, 3.2336)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B31 #1B5741
analogous
#571B4F #571B31 #57231B
triadic
#571B31 #31571B #1B3157
tetradic
#571B31 #4F571B #1B5741 #231B57
square
#571B31 #4F571B #1B5741 #231B57
split-complementary
#571B31 #1B5723 #1B4F57
monochromatic
#17070D #280D17 #571B31 #86294B #B43866

Accessibility & contrast

On white

13.07
#571B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#571B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B31
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B31#FFFFFF#000000##FFFFFF
##571B311.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262932
Deuteranopia (green-blind)
#363530
Tritanopia (blue-blind)
#5F1524
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #571b31;
/* rgb */ color: rgb(87, 27, 49);
/* oklch */ color: oklch(32.4% 0.091 0.9);
Tailwind
colors: {
  custom: {
    50: '#8a5b68',
    500: '#571b31',
    950: '#000000',
  },
}
SCSS
$custom: #571b31;
$custom-light: #8a5b68;
$custom-dark: #000000;
JSON
{
  "hex": "#571b31",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 338,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32372,
    "c": 0.09133,
    "h": 0.9
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#571B31
secondary
#418D71
accent
#DCA74C
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #571B31

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

Preview Lab → · Contrast checker → · Palette generator →

#571B31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva