#8D2170#8D2170

#8D2170 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.165 H 341.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8D2170
RGBrgb(141, 33, 112)
HSLhsl(316, 62%, 34%)
HSVhsv(316, 77%, 55%)
CMYKcmyk(0%, 76.6%, 20.6%, 44.7%)
CIE-LABlab(33.82, 52.14, -19.85)
CIE-LCHlch(33.82, 55.79, 339.16°)
OKLaboklab(45.14% 0.1562 -0.0534)
OKLCHoklch(45.14% 0.165 341.1)
XYZxyz(14.4534, 7.9217, 16.0940)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2170 #218D3E
analogous
#74218D #8D2170 #8D213A
triadic
#8D2170 #708D21 #21708D
tetradic
#8D2170 #8D7421 #218D3E #213A8D
square
#8D2170 #8D7421 #218D3E #213A8D
split-complementary
#8D2170 #3A8D21 #218D74
monochromatic
#2A0A21 #5B1549 #8D2170 #BF2D97 #D652B3

Accessibility & contrast

On white

8.13
#8D2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2170
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2170#FFFFFF#000000##FFFFFF
##8D21701.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4472
Deuteranopia (green-blind)
#4D566E
Tritanopia (blue-blind)
#962346
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d2170;
/* rgb */ color: rgb(141, 33, 112);
/* oklch */ color: oklch(45.1% 0.165 341.1);
Tailwind
colors: {
  custom: {
    50: '#b26899',
    500: '#8d2170',
    950: '#000000',
  },
}
SCSS
$custom: #8d2170;
$custom-light: #b26899;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2170",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 316.111,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45136,
    "c": 0.16504,
    "h": 341.1
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#8D2170
secondary
#50BA6C
accent
#E56E43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2170

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

Preview Lab → · Contrast checker → · Palette generator →

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