#57174C#57174C

#57174C is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.115 H 335.5°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#57174C
RGBrgb(87, 23, 76)
HSLhsl(310, 58%, 22%)
HSVhsv(310, 74%, 34%)
CMYKcmyk(0%, 73.6%, 12.6%, 65.9%)
CIE-LABlab(20.68, 35.78, -17.47)
CIE-LCHlch(20.68, 39.82, 333.98°)
OKLaboklab(33.13% 0.1045 -0.0476)
OKLCHoklch(33.13% 0.115 335.5)
XYZxyz(5.5414, 3.1613, 7.1544)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57174C #175722
analogous
#421757 #57174C #57172C
triadic
#57174C #4C5717 #174C57
tetradic
#57174C #574217 #175722 #172C57
square
#57174C #574217 #175722 #172C57
split-complementary
#57174C #2C5717 #175742
monochromatic
#180615 #270A22 #57174C #872476 #B831A1

Accessibility & contrast

On white

12.87
#57174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#57174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57174C
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57174C#FFFFFF#000000##FFFFFF
##57174C1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172C4E
Deuteranopia (green-blind)
#2D354A
Tritanopia (blue-blind)
#5C1B2F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57174c;
/* rgb */ color: rgb(87, 23, 76);
/* oklch */ color: oklch(33.1% 0.115 335.5);
Tailwind
colors: {
  custom: {
    50: '#895a7e',
    500: '#57174c',
    950: '#000000',
  },
}
SCSS
$custom: #57174c;
$custom-light: #895a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#57174c",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 310.313,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33128,
    "c": 0.1148,
    "h": 335.5
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#57174C
secondary
#3C8E4A
accent
#E16146
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #57174C

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

Preview Lab → · Contrast checker → · Palette generator →

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