#8D2472#8D2472

#8D2472 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.163 H 340.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8D2472
RGBrgb(141, 36, 114)
HSLhsl(315, 59%, 35%)
HSVhsv(315, 74%, 55%)
CMYKcmyk(0%, 74.5%, 19.1%, 44.7%)
CIE-LABlab(34.27, 51.40, -20.41)
CIE-LCHlch(34.27, 55.31, 338.34°)
OKLaboklab(45.5% 0.1533 -0.0551)
OKLCHoklch(45.5% 0.163 340.2)
XYZxyz(14.6531, 8.1408, 16.7160)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2472 #248D3F
analogous
#74248D #8D2472 #8D243D
triadic
#8D2472 #728D24 #24728D
tetradic
#8D2472 #8D7424 #248D3F #243D8D
square
#8D2472 #8D7424 #248D3F #243D8D
split-complementary
#8D2472 #3D8D24 #248D74
monochromatic
#2B0B23 #5C184B #8D2472 #BE3099 #D457B4

Accessibility & contrast

On white

7.99
#8D2472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2472
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2472#FFFFFF#000000##FFFFFF
##8D24721.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4674
Deuteranopia (green-blind)
#4D5770
Tritanopia (blue-blind)
#962748
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2472;
/* rgb */ color: rgb(141, 36, 114);
/* oklch */ color: oklch(45.5% 0.163 340.2);
Tailwind
colors: {
  custom: {
    50: '#b2699a',
    500: '#8d2472',
    950: '#000000',
  },
}
SCSS
$custom: #8d2472;
$custom-light: #b2699a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2472",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 315.429,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45496,
    "c": 0.16294,
    "h": 340.2
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#8D2472
secondary
#54B86E
accent
#E36E45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2472

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

Preview Lab → · Contrast checker → · Palette generator →

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