#8A2552#8A2552

#8A2552 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.141 H 357.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8A2552
RGBrgb(138, 37, 82)
HSLhsl(333, 58%, 34%)
HSVhsv(333, 73%, 54%)
CMYKcmyk(0%, 73.2%, 40.6%, 45.9%)
CIE-LABlab(32.56, 46.07, -2.51)
CIE-LCHlch(32.56, 46.14, 356.88°)
OKLaboklab(43.72% 0.1413 -0.006)
OKLCHoklch(43.72% 0.141 357.6)
XYZxyz(12.6667, 7.3372, 8.7302)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2552 #258A5D
analogous
#8A2585 #8A2552 #8A2B25
triadic
#8A2552 #528A25 #25528A
tetradic
#8A2552 #858A25 #258A5D #2B258A
square
#8A2552 #858A25 #258A5D #2B258A
split-complementary
#8A2552 #258A2B #25858A
monochromatic
#290B19 #5A1835 #8A2552 #BA326F #D2578E

Accessibility & contrast

On white

8.51
#8A2552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A2552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2552
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2552#FFFFFF#000000##FFFFFF
##8A25521.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394053
Deuteranopia (green-blind)
#555450
Tritanopia (blue-blind)
#951938
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2552;
/* rgb */ color: rgb(138, 37, 82);
/* oklch */ color: oklch(43.7% 0.141 357.6);
Tailwind
colors: {
  custom: {
    50: '#b06882',
    500: '#8a2552',
    950: '#000000',
  },
}
SCSS
$custom: #8a2552;
$custom-light: #b06882;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2552",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 333.267,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4372,
    "c": 0.14144,
    "h": 357.6
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#8A2552
secondary
#54B78B
accent
#E19C47
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2552

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

Preview Lab → · Contrast checker → · Palette generator →

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