#8A2C52#8A2C52

#8A2C52 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.5% C 0.132 H 359.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8A2C52
RGBrgb(138, 44, 82)
HSLhsl(336, 52%, 36%)
HSVhsv(336, 68%, 54%)
CMYKcmyk(0%, 68.1%, 40.6%, 45.9%)
CIE-LABlab(33.60, 43.22, -0.99)
CIE-LCHlch(33.60, 43.23, 358.68°)
OKLaboklab(44.48% 0.1323 -0.0021)
OKLCHoklch(44.48% 0.132 359.1)
XYZxyz(12.9058, 7.8154, 8.8099)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C52 #2C8A64
analogous
#8A2C81 #8A2C52 #8A352C
triadic
#8A2C52 #528A2C #2C528A
tetradic
#8A2C52 #818A2C #2C8A64 #352C8A
square
#8A2C52 #818A2C #2C8A64 #352C8A
split-complementary
#8A2C52 #2C8A35 #2C818A
monochromatic
#2D0E1B #5C1D36 #8A2C52 #B83B6E #CD638E

Accessibility & contrast

On white

8.19
#8A2C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A2C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C52
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C52#FFFFFF#000000##FFFFFF
##8A2C521.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#575650
Tritanopia (blue-blind)
#95223B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2c52;
/* rgb */ color: rgb(138, 44, 82);
/* oklch */ color: oklch(44.5% 0.132 359.1);
Tailwind
colors: {
  custom: {
    50: '#b06c82',
    500: '#8a2c52',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c52;
$custom-light: #b06c82;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c52",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 335.745,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44483,
    "c": 0.13228,
    "h": 359.1
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#8A2C52
secondary
#5EB491
accent
#DBA24D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2C52

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

Preview Lab → · Contrast checker → · Palette generator →

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