#8D2471#8D2471

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

Color values

HEX#8D2471
RGBrgb(141, 36, 113)
HSLhsl(316, 59%, 35%)
HSVhsv(316, 74%, 55%)
CMYKcmyk(0%, 74.5%, 19.9%, 44.7%)
CIE-LABlab(34.23, 51.26, -19.85)
CIE-LCHlch(34.23, 54.97, 338.83°)
OKLaboklab(45.45% 0.1532 -0.0535)
OKLCHoklch(45.45% 0.162 340.8)
XYZxyz(14.5964, 8.1182, 16.4178)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2471 #248D40
analogous
#75248D #8D2471 #8D243D
triadic
#8D2471 #718D24 #24718D
tetradic
#8D2471 #8D7524 #248D40 #243D8D
square
#8D2471 #8D7524 #248D40 #243D8D
split-complementary
#8D2471 #3D8D24 #248D75
monochromatic
#2B0B23 #5C184A #8D2471 #BE3098 #D457B3

Accessibility & contrast

On white

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

On black

2.62
#8D2471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D2471#FFFFFF#000000##FFFFFF
##8D24711.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#4E576F
Tritanopia (blue-blind)
#962747
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d2471;
/* rgb */ color: rgb(141, 36, 113);
/* oklch */ color: oklch(45.4% 0.162 340.8);
Tailwind
colors: {
  custom: {
    50: '#b2699a',
    500: '#8d2471',
    950: '#000000',
  },
}
SCSS
$custom: #8d2471;
$custom-light: #b2699a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2471",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 316,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45447,
    "c": 0.16226,
    "h": 340.8
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#8D2471
secondary
#54B86F
accent
#E36F45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2471

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

Preview Lab → · Contrast checker → · Palette generator →

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