#8E2E7E#8E2E7E

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

Color values

HEX#8E2E7E
RGBrgb(142, 46, 126)
HSLhsl(310, 51%, 37%)
HSVhsv(310, 68%, 56%)
CMYKcmyk(0%, 67.6%, 11.3%, 44.3%)
CIE-LABlab(36.39, 49.67, -24.63)
CIE-LCHlch(36.39, 55.44, 333.63°)
OKLaboklab(47.25% 0.1447 -0.0671)
OKLCHoklch(47.25% 0.159 335.1)
XYZxyz(15.8984, 9.2125, 20.6755)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E7E #2E8E3E
analogous
#6E2E8E #8E2E7E #8E2E4E
triadic
#8E2E7E #7E8E2E #2E7E8E
tetradic
#8E2E7E #8E6E2E #2E8E3E #2E4E8E
square
#8E2E7E #8E6E2E #2E8E3E #2E4E8E
split-complementary
#8E2E7E #4E8E2E #2E8E6E
monochromatic
#32102C #601F55 #8E2E7E #BC3DA7 #CE68BD

Accessibility & contrast

On white

7.39
#8E2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2E7E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E7E#FFFFFF#000000##FFFFFF
##8E2E7E1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C80
Deuteranopia (green-blind)
#4E5B7C
Tritanopia (blue-blind)
#953552
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2e7e;
/* rgb */ color: rgb(142, 46, 126);
/* oklch */ color: oklch(47.3% 0.159 335.1);
Tailwind
colors: {
  custom: {
    50: '#b26fa3',
    500: '#8e2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e7e;
$custom-light: #b26fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e7e",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 310,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47253,
    "c": 0.15946,
    "h": 335.1
  },
  "luminance": 0.09211
}

Semantic roles & 50–950 ramp

primary
#8E2E7E
secondary
#63B570
accent
#DB654D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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