#8E2170#8E2170

#8E2170 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.166 H 341.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8E2170
RGBrgb(142, 33, 112)
HSLhsl(317, 62%, 34%)
HSVhsv(317, 77%, 56%)
CMYKcmyk(0%, 76.8%, 21.1%, 44.3%)
CIE-LABlab(34.00, 52.40, -19.55)
CIE-LCHlch(34.00, 55.92, 339.54°)
OKLaboklab(45.3% 0.1571 -0.0526)
OKLCHoklch(45.3% 0.166 341.5)
XYZxyz(14.6243, 8.0098, 16.1020)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2170 #218E3F
analogous
#76218E #8E2170 #8E2139
triadic
#8E2170 #708E21 #21708E
tetradic
#8E2170 #8E7621 #218E3F #21398E
square
#8E2170 #8E7621 #218E3F #21398E
split-complementary
#8E2170 #398E21 #218E76
monochromatic
#2B0A22 #5C1549 #8E2170 #C02D97 #D752B2

Accessibility & contrast

On white

8.07
#8E2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2170
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2170#FFFFFF#000000##FFFFFF
##8E21701.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4572
Deuteranopia (green-blind)
#4E566E
Tritanopia (blue-blind)
#972346
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e2170;
/* rgb */ color: rgb(142, 33, 112);
/* oklch */ color: oklch(45.3% 0.166 341.5);
Tailwind
colors: {
  custom: {
    50: '#b36899',
    500: '#8e2170',
    950: '#000000',
  },
}
SCSS
$custom: #8e2170;
$custom-light: #b36899;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2170",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 316.514,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45304,
    "c": 0.1657,
    "h": 341.5
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#8E2170
secondary
#50BA6E
accent
#E56F42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2170

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

Preview Lab → · Contrast checker → · Palette generator →

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