#8E2A6F#8E2A6F

#8E2A6F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.154 H 342.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8E2A6F
RGBrgb(142, 42, 111)
HSLhsl(319, 54%, 36%)
HSVhsv(319, 70%, 56%)
CMYKcmyk(0%, 70.4%, 21.8%, 44.3%)
CIE-LABlab(35.11, 48.99, -17.20)
CIE-LCHlch(35.11, 51.93, 340.65°)
OKLaboklab(46.1% 0.147 -0.046)
OKLCHoklch(46.1% 0.154 342.6)
XYZxyz(14.8530, 8.5559, 15.9051)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A6F #2A8E49
analogous
#7B2A8E #8E2A6F #8E2A3D
triadic
#8E2A6F #6F8E2A #2A6F8E
tetradic
#8E2A6F #8E7B2A #2A8E49 #2A3D8E
square
#8E2A6F #8E7B2A #2A8E49 #2A3D8E
split-complementary
#8E2A6F #3D8E2A #2A8E7B
monochromatic
#300E25 #5F1C4A #8E2A6F #BD3894 #D162AE

Accessibility & contrast

On white

7.75
#8E2A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8E2A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A6F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A6F#FFFFFF#000000##FFFFFF
##8E2A6F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334871
Deuteranopia (green-blind)
#51596D
Tritanopia (blue-blind)
#972B48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2a6f;
/* rgb */ color: rgb(142, 42, 111);
/* oklch */ color: oklch(46.1% 0.154 342.6);
Tailwind
colors: {
  custom: {
    50: '#b26c98',
    500: '#8e2a6f',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a6f;
$custom-light: #b26c98;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a6f",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 318.6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46097,
    "c": 0.15404,
    "h": 342.6
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#8E2A6F
secondary
#5DB679
accent
#DE784A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E2A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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