#8D2A5E#8D2A5E

#8D2A5E is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.143 H 352.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8D2A5E
RGBrgb(141, 42, 94)
HSLhsl(328, 54%, 36%)
HSVhsv(328, 70%, 55%)
CMYKcmyk(0%, 70.2%, 33.3%, 44.7%)
CIE-LABlab(34.25, 46.42, -7.70)
CIE-LCHlch(34.25, 47.05, 350.58°)
OKLaboklab(45.2% 0.1418 -0.0199)
OKLCHoklch(45.2% 0.143 352)
XYZxyz(13.8336, 8.1284, 11.4279)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A5E #2A8D59
analogous
#8A2A8D #8D2A5E #8D2A2C
triadic
#8D2A5E #5E8D2A #2A5E8D
tetradic
#8D2A5E #8D8A2A #2A8D59 #2A2C8D
square
#8D2A5E #8D8A2A #2A8D59 #2A2C8D
split-complementary
#8D2A5E #2C8D2A #2A8D8A
monochromatic
#2F0E1F #5E1C3F #8D2A5E #BC387D #D0619B

Accessibility & contrast

On white

8.00
#8D2A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D2A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A5E
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A5E#FFFFFF#000000##FFFFFF
##8D2A5E1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A455F
Deuteranopia (green-blind)
#56575C
Tritanopia (blue-blind)
#982340
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2a5e;
/* rgb */ color: rgb(141, 42, 94);
/* oklch */ color: oklch(45.2% 0.143 352.0);
Tailwind
colors: {
  custom: {
    50: '#b26b8b',
    500: '#8d2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a5e;
$custom-light: #b26b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a5e",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 328.485,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45204,
    "c": 0.14316,
    "h": 352
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

primary
#8D2A5E
secondary
#5DB687
accent
#DD904A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8D2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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