#8A2D5A#8A2D5A

#8A2D5A is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.9% C 0.134 H 354.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8A2D5A
RGBrgb(138, 45, 90)
HSLhsl(331, 51%, 36%)
HSVhsv(331, 67%, 54%)
CMYKcmyk(0%, 67.4%, 34.8%, 45.9%)
CIE-LABlab(34.02, 43.74, -5.53)
CIE-LCHlch(34.02, 44.09, 352.80°)
OKLaboklab(44.89% 0.1336 -0.014)
OKLCHoklch(44.89% 0.134 354)
XYZxyz(13.2658, 8.0197, 10.5202)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D5A #2D8A5D
analogous
#8A2D88 #8A2D5A #8A2E2D
triadic
#8A2D5A #5A8A2D #2D5A8A
tetradic
#8A2D5A #888A2D #2D8A5D #2E2D8A
square
#8A2D5A #888A2D #2D8A5D #2E2D8A
split-complementary
#8A2D5A #2D8A2E #2D888A
monochromatic
#2E0F1E #5C1E3C #8A2D5A #B83C78 #CD6597

Accessibility & contrast

On white

8.07
#8A2D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A2D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D5A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D5A#FFFFFF#000000##FFFFFF
##8A2D5A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C455B
Deuteranopia (green-blind)
#565658
Tritanopia (blue-blind)
#95263F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2d5a;
/* rgb */ color: rgb(138, 45, 90);
/* oklch */ color: oklch(44.9% 0.134 354.0);
Tailwind
colors: {
  custom: {
    50: '#b06c88',
    500: '#8a2d5a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d5a;
$custom-light: #b06c88;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d5a",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 330.968,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44888,
    "c": 0.13433,
    "h": 354
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

primary
#8A2D5A
secondary
#60B38B
accent
#DA964D
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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