#8E2E7D#8E2E7D

#8E2E7D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.159 H 335.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8E2E7D
RGBrgb(142, 46, 125)
HSLhsl(311, 51%, 37%)
HSVhsv(311, 68%, 56%)
CMYKcmyk(0%, 67.6%, 12%, 44.3%)
CIE-LABlab(36.34, 49.51, -24.08)
CIE-LCHlch(36.34, 55.06, 334.06°)
OKLaboklab(47.2% 0.1445 -0.0656)
OKLCHoklch(47.2% 0.159 335.6)
XYZxyz(15.8342, 9.1868, 20.3373)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E7D #2E8E3F
analogous
#6F2E8E #8E2E7D #8E2E4D
triadic
#8E2E7D #7D8E2E #2E7D8E
tetradic
#8E2E7D #8E6F2E #2E8E3F #2E4D8E
square
#8E2E7D #8E6F2E #2E8E3F #2E4D8E
split-complementary
#8E2E7D #4D8E2E #2E8E6F
monochromatic
#32102C #601F54 #8E2E7D #BC3DA6 #CE68BC

Accessibility & contrast

On white

7.40
#8E2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8E2E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E7D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E7D#FFFFFF#000000##FFFFFF
##8E2E7D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#953451
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2e7d;
/* rgb */ color: rgb(142, 46, 125);
/* oklch */ color: oklch(47.2% 0.159 335.6);
Tailwind
colors: {
  custom: {
    50: '#b26ea3',
    500: '#8e2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e7d;
$custom-light: #b26ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e7d",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 310.625,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47202,
    "c": 0.15869,
    "h": 335.6
  },
  "luminance": 0.09185
}

Semantic roles & 50–950 ramp

primary
#8E2E7D
secondary
#63B571
accent
#DB664D
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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