#571138#571138

#571138 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.109 H 351.2°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#571138
RGBrgb(87, 17, 56)
HSLhsl(327, 67%, 20%)
HSVhsv(327, 80%, 34%)
CMYKcmyk(0%, 80.5%, 35.6%, 65.9%)
CIE-LABlab(18.86, 35.15, -6.44)
CIE-LCHlch(18.86, 35.73, 349.62°)
OKLaboklab(31.49% 0.1076 -0.0167)
OKLCHoklch(31.49% 0.109 351.2)
XYZxyz(4.8450, 2.7132, 4.0092)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571138 #115730
analogous
#531157 #571138 #571115
triadic
#571138 #385711 #113857
tetradic
#571138 #575311 #115730 #111557
square
#571138 #575311 #115730 #111557
split-complementary
#571138 #155711 #115753
monochromatic
#1A0510 #240717 #571138 #8A1B59 #BD257A

Accessibility & contrast

On white

13.61
#571138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571138
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571138#FFFFFF#000000##FFFFFF
##5711381.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2639
Deuteranopia (green-blind)
#313236
Tritanopia (blue-blind)
#5E0C22
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #571138;
/* rgb */ color: rgb(87, 17, 56);
/* oklch */ color: oklch(31.5% 0.109 351.2);
Tailwind
colors: {
  custom: {
    50: '#8a576e',
    500: '#571138',
    950: '#000000',
  },
}
SCSS
$custom: #571138;
$custom-light: #8a576e;
$custom-dark: #000000;
JSON
{
  "hex": "#571138",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 326.571,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31488,
    "c": 0.10886,
    "h": 351.2
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#571138
secondary
#34905D
accent
#EA8A3E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #571138

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

Preview Lab → · Contrast checker → · Palette generator →

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