#8D2A6F#8D2A6F

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

Color values

HEX#8D2A6F
RGBrgb(141, 42, 111)
HSLhsl(318, 54%, 36%)
HSVhsv(318, 70%, 55%)
CMYKcmyk(0%, 70.2%, 21.3%, 44.7%)
CIE-LABlab(34.94, 48.72, -17.49)
CIE-LCHlch(34.94, 51.76, 340.25°)
OKLaboklab(45.93% 0.146 -0.0469)
OKLCHoklch(45.93% 0.153 342.2)
XYZxyz(14.6822, 8.4678, 15.8971)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A6F #2A8D48
analogous
#792A8D #8D2A6F #8D2A3D
triadic
#8D2A6F #6F8D2A #2A6F8D
tetradic
#8D2A6F #8D792A #2A8D48 #2A3D8D
square
#8D2A6F #8D792A #2A8D48 #2A3D8D
split-complementary
#8D2A6F #3D8D2A #2A8D79
monochromatic
#2F0E25 #5E1C4A #8D2A6F #BC3894 #D061AF

Accessibility & contrast

On white

7.80
#8D2A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2A6F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A6F#FFFFFF#000000##FFFFFF
##8D2A6F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2a6f;
/* rgb */ color: rgb(141, 42, 111);
/* oklch */ color: oklch(45.9% 0.153 342.2);
Tailwind
colors: {
  custom: {
    50: '#b26c98',
    500: '#8d2a6f',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a6f;
$custom-light: #b26c98;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a6f",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 318.182,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45935,
    "c": 0.15332,
    "h": 342.2
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#8D2A6F
secondary
#5DB678
accent
#DD774A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D2A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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