#57154C#57154C

#57154C is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.118 H 335.4°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#57154C
RGBrgb(87, 21, 76)
HSLhsl(310, 61%, 21%)
HSVhsv(310, 76%, 34%)
CMYKcmyk(0%, 75.9%, 12.6%, 65.9%)
CIE-LABlab(20.38, 36.62, -17.93)
CIE-LCHlch(20.38, 40.78, 333.91°)
OKLaboklab(32.91% 0.107 -0.0489)
OKLCHoklch(32.91% 0.118 335.4)
XYZxyz(5.5032, 3.0848, 7.1417)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57154C #155720
analogous
#411557 #57154C #57152B
triadic
#57154C #4C5715 #154C57
tetradic
#57154C #574115 #155720 #152B57
square
#57154C #574115 #155720 #152B57
split-complementary
#57154C #2B5715 #155741
monochromatic
#190616 #260921 #57154C #882177 #BA2DA2

Accessibility & contrast

On white

12.99
#57154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#57154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57154C
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57154C#FFFFFF#000000##FFFFFF
##57154C1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4E
Deuteranopia (green-blind)
#2C354A
Tritanopia (blue-blind)
#5C1A2E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #57154c;
/* rgb */ color: rgb(87, 21, 76);
/* oklch */ color: oklch(32.9% 0.118 335.4);
Tailwind
colors: {
  custom: {
    50: '#89597e',
    500: '#57154c',
    950: '#000000',
  },
}
SCSS
$custom: #57154c;
$custom-light: #89597e;
$custom-dark: #000000;
JSON
{
  "hex": "#57154c",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 310,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32912,
    "c": 0.1176,
    "h": 335.4
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#57154C
secondary
#398F47
accent
#E45E44
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #57154C

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

Preview Lab → · Contrast checker → · Palette generator →

#57154C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva