#8A2B5B#8A2B5B

#8A2B5B is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.138 H 353.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8A2B5B
RGBrgb(138, 43, 91)
HSLhsl(330, 52%, 35%)
HSVhsv(330, 69%, 54%)
CMYKcmyk(0%, 68.8%, 34.1%, 45.9%)
CIE-LABlab(33.75, 44.72, -6.58)
CIE-LCHlch(33.75, 45.20, 351.63°)
OKLaboklab(44.7% 0.1366 -0.0169)
OKLCHoklch(44.7% 0.138 353)
XYZxyz(13.2342, 7.8878, 10.7211)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B5B #2B8A5A
analogous
#892B8A #8A2B5B #8A2B2C
triadic
#8A2B5B #5B8A2B #2B5B8A
tetradic
#8A2B5B #8A892B #2B8A5A #2B2C8A
square
#8A2B5B #8A892B #2B8A5A #2B2C8A
split-complementary
#8A2B5B #2C8A2B #2B8A89
monochromatic
#2D0E1D #5B1C3C #8A2B5B #B93A7A #CE6198

Accessibility & contrast

On white

8.15
#8A2B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A2B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B5B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B5B#FFFFFF#000000##FFFFFF
##8A2B5B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445C
Deuteranopia (green-blind)
#555659
Tritanopia (blue-blind)
#95243F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2b5b;
/* rgb */ color: rgb(138, 43, 91);
/* oklch */ color: oklch(44.7% 0.138 353.0);
Tailwind
colors: {
  custom: {
    50: '#b06b89',
    500: '#8a2b5b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b5b;
$custom-light: #b06b89;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b5b",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 329.684,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44697,
    "c": 0.13763,
    "h": 353
  },
  "luminance": 0.07886
}

Semantic roles & 50–950 ramp

primary
#8A2B5B
secondary
#5DB488
accent
#DC934C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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