#8D2371#8D2371

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

Color values

HEX#8D2371
RGBrgb(141, 35, 113)
HSLhsl(316, 60%, 35%)
HSVhsv(316, 75%, 55%)
CMYKcmyk(0%, 75.2%, 19.9%, 44.7%)
CIE-LABlab(34.10, 51.61, -20.04)
CIE-LCHlch(34.10, 55.36, 338.78°)
OKLaboklab(45.36% 0.1543 -0.054)
OKLCHoklch(45.36% 0.163 340.7)
XYZxyz(14.5666, 8.0585, 16.4079)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2371 #238D3F
analogous
#74238D #8D2371 #8D233C
triadic
#8D2371 #718D23 #23718D
tetradic
#8D2371 #8D7423 #238D3F #233C8D
square
#8D2371 #8D7423 #238D3F #233C8D
split-complementary
#8D2371 #3C8D23 #238D74
monochromatic
#2B0B22 #5C174A #8D2371 #BE2F98 #D555B3

Accessibility & contrast

On white

8.04
#8D2371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8D2371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2371
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2371#FFFFFF#000000##FFFFFF
##8D23711.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#4D566F
Tritanopia (blue-blind)
#962647
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d2371;
/* rgb */ color: rgb(141, 35, 113);
/* oklch */ color: oklch(45.4% 0.163 340.7);
Tailwind
colors: {
  custom: {
    50: '#b2699a',
    500: '#8d2371',
    950: '#000000',
  },
}
SCSS
$custom: #8d2371;
$custom-light: #b2699a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2371",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 315.849,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45358,
    "c": 0.16343,
    "h": 340.7
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#8D2371
secondary
#53B96E
accent
#E36E44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2371

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

Preview Lab → · Contrast checker → · Palette generator →

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