#8D2A6E#8D2A6E

#8D2A6E is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.153 H 342.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8D2A6E
RGBrgb(141, 42, 110)
HSLhsl(319, 54%, 36%)
HSVhsv(319, 70%, 55%)
CMYKcmyk(0%, 70.2%, 22%, 44.7%)
CIE-LABlab(34.89, 48.57, -16.92)
CIE-LCHlch(34.89, 51.43, 340.79°)
OKLaboklab(45.89% 0.1458 -0.0453)
OKLCHoklch(45.89% 0.153 342.7)
XYZxyz(14.6274, 8.4459, 15.6087)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A6E #2A8D49
analogous
#7A2A8D #8D2A6E #8D2A3C
triadic
#8D2A6E #6E8D2A #2A6E8D
tetradic
#8D2A6E #8D7A2A #2A8D49 #2A3C8D
square
#8D2A6E #8D7A2A #2A8D49 #2A3C8D
split-complementary
#8D2A6E #3C8D2A #2A8D7A
monochromatic
#2F0E24 #5E1C49 #8D2A6E #BC3893 #D061AD

Accessibility & contrast

On white

7.81
#8D2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D2A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A6E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A6E#FFFFFF#000000##FFFFFF
##8D2A6E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334870
Deuteranopia (green-blind)
#51586C
Tritanopia (blue-blind)
#962B48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2a6e;
/* rgb */ color: rgb(141, 42, 110);
/* oklch */ color: oklch(45.9% 0.153 342.7);
Tailwind
colors: {
  custom: {
    50: '#b26c97',
    500: '#8d2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a6e;
$custom-light: #b26c97;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a6e",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 318.788,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.15265,
    "h": 342.7
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#8D2A6E
secondary
#5DB679
accent
#DD784A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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