#8D2A6A#8D2A6A

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

Color values

HEX#8D2A6A
RGBrgb(141, 42, 106)
HSLhsl(321, 54%, 36%)
HSVhsv(321, 70%, 55%)
CMYKcmyk(0%, 70.2%, 24.8%, 44.7%)
CIE-LABlab(34.72, 48.01, -14.65)
CIE-LCHlch(34.72, 50.19, 343.03°)
OKLaboklab(45.71% 0.1449 -0.0389)
OKLCHoklch(45.71% 0.15 345)
XYZxyz(14.4145, 8.3607, 14.4875)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A6A #2A8D4D
analogous
#7E2A8D #8D2A6A #8D2A38
triadic
#8D2A6A #6A8D2A #2A6A8D
tetradic
#8D2A6A #8D7E2A #2A8D4D #2A388D
square
#8D2A6A #8D7E2A #2A8D4D #2A388D
split-complementary
#8D2A6A #388D2A #2A8D7E
monochromatic
#2F0E23 #5E1C47 #8D2A6A #BC388D #D061A9

Accessibility & contrast

On white

7.86
#8D2A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D2A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A6A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A6A#FFFFFF#000000##FFFFFF
##8D2A6A1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35476C
Deuteranopia (green-blind)
#525868
Tritanopia (blue-blind)
#962946
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2a6a;
/* rgb */ color: rgb(141, 42, 106);
/* oklch */ color: oklch(45.7% 0.150 345.0);
Tailwind
colors: {
  custom: {
    50: '#b26c94',
    500: '#8d2a6a',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a6a;
$custom-light: #b26c94;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a6a",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 321.212,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45707,
    "c": 0.15005,
    "h": 345
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#8D2A6A
secondary
#5DB67C
accent
#DD7E4A
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D2A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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