#8A2D6D#8A2D6D

#8A2D6D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.146 H 342.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8A2D6D
RGBrgb(138, 45, 109)
HSLhsl(319, 51%, 36%)
HSVhsv(319, 67%, 54%)
CMYKcmyk(0%, 67.4%, 21%, 45.9%)
CIE-LABlab(34.77, 46.34, -16.52)
CIE-LCHlch(34.77, 49.19, 340.38°)
OKLaboklab(45.68% 0.1387 -0.0442)
OKLCHoklch(45.68% 0.146 342.3)
XYZxyz(14.1804, 8.3855, 15.3368)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D6D #2D8A4A
analogous
#782D8A #8A2D6D #8A2D3E
triadic
#8A2D6D #6D8A2D #2D6D8A
tetradic
#8A2D6D #8A782D #2D8A4A #2D3E8A
square
#8A2D6D #8A782D #2D8A4A #2D3E8A
split-complementary
#8A2D6D #3E8A2D #2D8A78
monochromatic
#2E0F24 #5C1E49 #8A2D6D #B83C91 #CD65AC

Accessibility & contrast

On white

7.85
#8A2D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8A2D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D6D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D6D#FFFFFF#000000##FFFFFF
##8A2D6D1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486F
Deuteranopia (green-blind)
#50576B
Tritanopia (blue-blind)
#932E49
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2d6d;
/* rgb */ color: rgb(138, 45, 109);
/* oklch */ color: oklch(45.7% 0.146 342.3);
Tailwind
colors: {
  custom: {
    50: '#af6d97',
    500: '#8a2d6d',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d6d;
$custom-light: #af6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d6d",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 109
  },
  "hsl": {
    "h": 318.71,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45685,
    "c": 0.14556,
    "h": 342.3
  },
  "luminance": 0.08384
}

Semantic roles & 50–950 ramp

primary
#8A2D6D
secondary
#60B37A
accent
#DA794D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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