#8D2A6C#8D2A6C

#8D2A6C is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.151 H 343.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8D2A6C
RGBrgb(141, 42, 108)
HSLhsl(320, 54%, 36%)
HSVhsv(320, 70%, 55%)
CMYKcmyk(0%, 70.2%, 23.4%, 44.7%)
CIE-LABlab(34.81, 48.29, -15.79)
CIE-LCHlch(34.81, 50.80, 341.89°)
OKLaboklab(45.8% 0.1454 -0.0421)
OKLCHoklch(45.8% 0.151 343.8)
XYZxyz(14.5198, 8.4028, 15.0417)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A6C #2A8D4B
analogous
#7C2A8D #8D2A6C #8D2A3A
triadic
#8D2A6C #6C8D2A #2A6C8D
tetradic
#8D2A6C #8D7C2A #2A8D4B #2A3A8D
square
#8D2A6C #8D7C2A #2A8D4B #2A3A8D
split-complementary
#8D2A6C #3A8D2A #2A8D7C
monochromatic
#2F0E24 #5E1C48 #8D2A6C #BC3890 #D061AB

Accessibility & contrast

On white

7.84
#8D2A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2A6C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A6C#FFFFFF#000000##FFFFFF
##8D2A6C1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476E
Deuteranopia (green-blind)
#52586A
Tritanopia (blue-blind)
#962A47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2a6c;
/* rgb */ color: rgb(141, 42, 108);
/* oklch */ color: oklch(45.8% 0.151 343.8);
Tailwind
colors: {
  custom: {
    50: '#b26c96',
    500: '#8d2a6c',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a6c;
$custom-light: #b26c96;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a6c",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 320,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.15133,
    "h": 343.8
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#8D2A6C
secondary
#5DB67B
accent
#DD7B4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D2A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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