#8E2E71#8E2E71

#8E2E71 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.150 H 341.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8E2E71
RGBrgb(142, 46, 113)
HSLhsl(318, 51%, 37%)
HSVhsv(318, 68%, 56%)
CMYKcmyk(0%, 67.6%, 20.4%, 44.3%)
CIE-LABlab(35.79, 47.66, -17.43)
CIE-LCHlch(35.79, 50.74, 339.91°)
OKLaboklab(46.62% 0.1425 -0.0467)
OKLCHoklch(46.62% 0.15 341.8)
XYZxyz(15.1134, 8.8985, 16.5412)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E71 #2E8E4B
analogous
#7B2E8E #8E2E71 #8E2E41
triadic
#8E2E71 #718E2E #2E718E
tetradic
#8E2E71 #8E7B2E #2E8E4B #2E418E
square
#8E2E71 #8E7B2E #2E8E4B #2E418E
split-complementary
#8E2E71 #418E2E #2E8E7B
monochromatic
#321027 #601F4C #8E2E71 #BC3D96 #CE68AF

Accessibility & contrast

On white

7.56
#8E2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8E2E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E71
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E71#FFFFFF#000000##FFFFFF
##8E2E711.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#972F4B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2e71;
/* rgb */ color: rgb(142, 46, 113);
/* oklch */ color: oklch(46.6% 0.150 341.8);
Tailwind
colors: {
  custom: {
    50: '#b26e9a',
    500: '#8e2e71',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e71;
$custom-light: #b26e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e71",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 318.125,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.14993,
    "h": 341.8
  },
  "luminance": 0.08897
}

Semantic roles & 50–950 ramp

primary
#8E2E71
secondary
#63B57C
accent
#DB784D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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