#57174B#57174B

#57174B is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.1% C 0.114 H 336.3°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#57174B
RGBrgb(87, 23, 75)
HSLhsl(311, 58%, 22%)
HSVhsv(311, 74%, 34%)
CMYKcmyk(0%, 73.6%, 13.8%, 65.9%)
CIE-LABlab(20.63, 35.61, -16.87)
CIE-LCHlch(20.63, 39.40, 334.65°)
OKLaboklab(33.07% 0.1043 -0.0459)
OKLCHoklch(33.07% 0.114 336.3)
XYZxyz(5.5070, 3.1475, 6.9727)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57174B #175723
analogous
#431757 #57174B #57172B
triadic
#57174B #4B5717 #174B57
tetradic
#57174B #574317 #175723 #172B57
square
#57174B #574317 #175723 #172B57
split-complementary
#57174B #2B5717 #175743
monochromatic
#180615 #270A21 #57174B #872475 #B8319E

Accessibility & contrast

On white

12.89
#57174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57174B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57174B#FFFFFF#000000##FFFFFF
##57174B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4C
Deuteranopia (green-blind)
#2D3549
Tritanopia (blue-blind)
#5C1B2E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57174b;
/* rgb */ color: rgb(87, 23, 75);
/* oklch */ color: oklch(33.1% 0.114 336.3);
Tailwind
colors: {
  custom: {
    50: '#895a7d',
    500: '#57174b',
    950: '#000000',
  },
}
SCSS
$custom: #57174b;
$custom-light: #895a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#57174b",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 311.25,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33072,
    "c": 0.11398,
    "h": 336.3
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#57174B
secondary
#3C8E4B
accent
#E16346
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #57174B

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

Preview Lab → · Contrast checker → · Palette generator →

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