#8A2D6A#8A2D6A

#8A2D6A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.5% C 0.144 H 344.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8A2D6A
RGBrgb(138, 45, 106)
HSLhsl(321, 51%, 36%)
HSVhsv(321, 67%, 54%)
CMYKcmyk(0%, 67.4%, 23.2%, 45.9%)
CIE-LABlab(34.64, 45.90, -14.82)
CIE-LCHlch(34.64, 48.23, 342.11°)
OKLaboklab(45.55% 0.138 -0.0395)
OKLCHoklch(45.55% 0.144 344)
XYZxyz(14.0216, 8.3220, 14.5007)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D6A #2D8A4D
analogous
#7B2D8A #8A2D6A #8A2D3B
triadic
#8A2D6A #6A8A2D #2D6A8A
tetradic
#8A2D6A #8A7B2D #2D8A4D #2D3B8A
square
#8A2D6A #8A7B2D #2D8A4D #2D3B8A
split-complementary
#8A2D6A #3B8A2D #2D8A7B
monochromatic
#2E0F23 #5C1E47 #8A2D6A #B83C8D #CD65A9

Accessibility & contrast

On white

7.88
#8A2D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A2D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D6A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D6A#FFFFFF#000000##FFFFFF
##8A2D6A1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486C
Deuteranopia (green-blind)
#515768
Tritanopia (blue-blind)
#932D47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2d6a;
/* rgb */ color: rgb(138, 45, 106);
/* oklch */ color: oklch(45.5% 0.144 344.0);
Tailwind
colors: {
  custom: {
    50: '#af6d94',
    500: '#8a2d6a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d6a;
$custom-light: #af6d94;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d6a",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 320.645,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45549,
    "c": 0.14354,
    "h": 344
  },
  "luminance": 0.08321
}

Semantic roles & 50–950 ramp

primary
#8A2D6A
secondary
#60B37C
accent
#DA7E4D
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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