#8A2A5B#8A2A5B

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

Color values

HEX#8A2A5B
RGBrgb(138, 42, 91)
HSLhsl(329, 53%, 35%)
HSVhsv(329, 70%, 54%)
CMYKcmyk(0%, 69.6%, 34.1%, 45.9%)
CIE-LABlab(33.60, 45.14, -6.81)
CIE-LCHlch(33.60, 45.65, 351.42°)
OKLaboklab(44.59% 0.1379 -0.0175)
OKLCHoklch(44.59% 0.139 352.8)
XYZxyz(13.1982, 7.8160, 10.7091)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A5B #2A8A59
analogous
#892A8A #8A2A5B #8A2A2B
triadic
#8A2A5B #5B8A2A #2A5B8A
tetradic
#8A2A5B #8A892A #2A8A59 #2A2B8A
square
#8A2A5B #8A892A #2A8A59 #2A2B8A
split-complementary
#8A2A5B #2B8A2A #2A8A89
monochromatic
#2C0D1D #5B1C3C #8A2A5B #B9387A #CF6098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2A5B#FFFFFF#000000##FFFFFF
##8A2A5B1.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)
#3A445C
Deuteranopia (green-blind)
#545559
Tritanopia (blue-blind)
#95233F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2a5b;
/* rgb */ color: rgb(138, 42, 91);
/* oklch */ color: oklch(44.6% 0.139 352.8);
Tailwind
colors: {
  custom: {
    50: '#b06b89',
    500: '#8a2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a5b;
$custom-light: #b06b89;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a5b",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 329.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44585,
    "c": 0.139,
    "h": 352.8
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

primary
#8A2A5B
secondary
#5BB487
accent
#DD924B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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