#8E2F6E#8E2F6E

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

Color values

HEX#8E2F6E
RGBrgb(142, 47, 110)
HSLhsl(320, 50%, 37%)
HSVhsv(320, 67%, 56%)
CMYKcmyk(0%, 66.9%, 22.5%, 44.3%)
CIE-LABlab(35.81, 46.79, -15.50)
CIE-LCHlch(35.81, 49.29, 341.67°)
OKLaboklab(46.59% 0.1405 -0.0413)
OKLCHoklch(46.59% 0.146 343.6)
XYZxyz(14.9868, 8.9110, 15.6795)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F6E #2F8E4F
analogous
#7F2F8E #8E2F6E #8E2F3E
triadic
#8E2F6E #6E8E2F #2F6E8E
tetradic
#8E2F6E #8E7F2F #2F8E4F #2F3E8E
square
#8E2F6E #8E7F2F #2F8E4F #2F3E8E
split-complementary
#8E2F6E #3E8E2F #2F8E7F
monochromatic
#321127 #60204A #8E2F6E #BC3E92 #CE6AAC

Accessibility & contrast

On white

7.55
#8E2F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2F6E
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F6E#FFFFFF#000000##FFFFFF
##8E2F6E1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A70
Deuteranopia (green-blind)
#545A6C
Tritanopia (blue-blind)
#972F4A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2f6e;
/* rgb */ color: rgb(142, 47, 110);
/* oklch */ color: oklch(46.6% 0.146 343.6);
Tailwind
colors: {
  custom: {
    50: '#b26f97',
    500: '#8e2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f6e;
$custom-light: #b26f97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f6e",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 320.211,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46593,
    "c": 0.14647,
    "h": 343.6
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#8E2F6E
secondary
#64B57F
accent
#DA7D4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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