#8E2371#8E2371

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

Color values

HEX#8E2371
RGBrgb(142, 35, 113)
HSLhsl(316, 60%, 35%)
HSVhsv(316, 75%, 56%)
CMYKcmyk(0%, 75.4%, 20.4%, 44.3%)
CIE-LABlab(34.29, 51.86, -19.75)
CIE-LCHlch(34.29, 55.50, 339.16°)
OKLaboklab(45.52% 0.1552 -0.0532)
OKLCHoklch(45.52% 0.164 341.1)
XYZxyz(14.7375, 8.1466, 16.4159)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2371 #238E40
analogous
#76238E #8E2371 #8E233B
triadic
#8E2371 #718E23 #23718E
tetradic
#8E2371 #8E7623 #238E40 #233B8E
square
#8E2371 #8E7623 #238E40 #233B8E
split-complementary
#8E2371 #3B8E23 #238E76
monochromatic
#2C0B23 #5D174A #8E2371 #BF2F98 #D556B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2371#FFFFFF#000000##FFFFFF
##8E23711.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)
#2C4673
Deuteranopia (green-blind)
#4E576F
Tritanopia (blue-blind)
#972547
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2371;
/* rgb */ color: rgb(142, 35, 113);
/* oklch */ color: oklch(45.5% 0.164 341.1);
Tailwind
colors: {
  custom: {
    50: '#b3699a',
    500: '#8e2371',
    950: '#000000',
  },
}
SCSS
$custom: #8e2371;
$custom-light: #b3699a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2371",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 316.262,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45524,
    "c": 0.16409,
    "h": 341.1
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#8E2371
secondary
#53B96F
accent
#E46F44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2371

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

Preview Lab → · Contrast checker → · Palette generator →

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