#8A1D57#8A1D57

#8A1D57 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.153 H 353.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8A1D57
RGBrgb(138, 29, 87)
HSLhsl(328, 65%, 33%)
HSVhsv(328, 79%, 54%)
CMYKcmyk(0%, 79%, 37%, 45.9%)
CIE-LABlab(31.74, 49.44, -6.99)
CIE-LCHlch(31.74, 49.93, 351.95°)
OKLaboklab(43.18% 0.1518 -0.0179)
OKLCHoklch(43.18% 0.153 353.3)
XYZxyz(12.6417, 6.9717, 9.6949)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D57 #1D8A50
analogous
#861D8A #8A1D57 #8A1D21
triadic
#8A1D57 #578A1D #1D578A
tetradic
#8A1D57 #8A861D #1D8A50 #1D218A
square
#8A1D57 #8A861D #1D8A50 #1D218A
split-complementary
#8A1D57 #218A1D #1D8A86
monochromatic
#250817 #571237 #8A1D57 #BD2877 #D94995

Accessibility & contrast

On white

8.77
#8A1D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A1D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D57
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D57#FFFFFF#000000##FFFFFF
##8A1D571.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E58
Deuteranopia (green-blind)
#515255
Tritanopia (blue-blind)
#951137
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1d57;
/* rgb */ color: rgb(138, 29, 87);
/* oklch */ color: oklch(43.2% 0.153 353.3);
Tailwind
colors: {
  custom: {
    50: '#b16586',
    500: '#8a1d57',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d57;
$custom-light: #b16586;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d57",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 328.073,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43177,
    "c": 0.15283,
    "h": 353.3
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#8A1D57
secondary
#48BB7E
accent
#E88E40
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1D57

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

Preview Lab → · Contrast checker → · Palette generator →

#8A1D57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva