#8A1752#8A1752

#8A1752 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.156 H 355.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8A1752
RGBrgb(138, 23, 82)
HSLhsl(329, 71%, 32%)
HSVhsv(329, 83%, 54%)
CMYKcmyk(0%, 83.3%, 40.6%, 45.9%)
CIE-LABlab(30.94, 50.65, -4.92)
CIE-LCHlch(30.94, 50.89, 354.46°)
OKLaboklab(42.53% 0.1559 -0.0123)
OKLCHoklch(42.53% 0.156 355.5)
XYZxyz(12.3115, 6.6269, 8.6118)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1752 #178A4F
analogous
#89178A #8A1752 #8A1719
triadic
#8A1752 #528A17 #17528A
tetradic
#8A1752 #8A8917 #178A4F #17198A
square
#8A1752 #8A8917 #178A4F #17198A
split-complementary
#8A1752 #198A17 #178A89
monochromatic
#210614 #560E33 #8A1752 #BE2071 #DF3D90

Accessibility & contrast

On white

9.03
#8A1752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1752
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1752#FFFFFF#000000##FFFFFF
##8A17521.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B53
Deuteranopia (green-blind)
#51504F
Tritanopia (blue-blind)
#960233
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1752;
/* rgb */ color: rgb(138, 23, 82);
/* oklch */ color: oklch(42.5% 0.156 355.5);
Tailwind
colors: {
  custom: {
    50: '#b16382',
    500: '#8a1752',
    950: '#000000',
  },
}
SCSS
$custom: #8a1752;
$custom-light: #b16382;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1752",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 329.217,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42533,
    "c": 0.15639,
    "h": 355.5
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#8A1752
secondary
#3FBE7D
accent
#EE923A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1752

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

Preview Lab → · Contrast checker → · Palette generator →

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