#8A1D59#8A1D59

#8A1D59 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.154 H 352.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#8A1D59
RGBrgb(138, 29, 89)
HSLhsl(327, 65%, 33%)
HSVhsv(327, 79%, 54%)
CMYKcmyk(0%, 79%, 35.5%, 45.9%)
CIE-LABlab(31.82, 49.67, -8.18)
CIE-LCHlch(31.82, 50.34, 350.64°)
OKLaboklab(43.26% 0.1524 -0.0211)
OKLCHoklch(43.26% 0.154 352.1)
XYZxyz(12.7245, 7.0048, 10.1312)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D59 #1D8A4E
analogous
#841D8A #8A1D59 #8A1D23
triadic
#8A1D59 #598A1D #1D598A
tetradic
#8A1D59 #8A841D #1D8A4E #1D238A
square
#8A1D59 #8A841D #1D8A4E #1D238A
split-complementary
#8A1D59 #238A1D #1D8A84
monochromatic
#250818 #571238 #8A1D59 #BD287A #D94998

Accessibility & contrast

On white

8.75
#8A1D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A1D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D59
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D59#FFFFFF#000000##FFFFFF
##8A1D591.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E5B
Deuteranopia (green-blind)
#505257
Tritanopia (blue-blind)
#951238
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1d59;
/* rgb */ color: rgb(138, 29, 89);
/* oklch */ color: oklch(43.3% 0.154 352.1);
Tailwind
colors: {
  custom: {
    50: '#b06587',
    500: '#8a1d59',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d59;
$custom-light: #b06587;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d59",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 326.972,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.15381,
    "h": 352.1
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#8A1D59
secondary
#48BB7C
accent
#E88B40
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1D59

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

Preview Lab → · Contrast checker → · Palette generator →

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