#8E2A6E#8E2A6E

#8E2A6E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.153 H 343.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8E2A6E
RGBrgb(142, 42, 110)
HSLhsl(319, 54%, 36%)
HSVhsv(319, 70%, 56%)
CMYKcmyk(0%, 70.4%, 22.5%, 44.3%)
CIE-LABlab(35.07, 48.85, -16.64)
CIE-LCHlch(35.07, 51.61, 341.19°)
OKLaboklab(46.05% 0.1468 -0.0445)
OKLCHoklch(46.05% 0.153 343.1)
XYZxyz(14.7983, 8.5340, 15.6167)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A6E #2A8E4A
analogous
#7C2A8E #8E2A6E #8E2A3C
triadic
#8E2A6E #6E8E2A #2A6E8E
tetradic
#8E2A6E #8E7C2A #2A8E4A #2A3C8E
square
#8E2A6E #8E7C2A #2A8E4A #2A3C8E
split-complementary
#8E2A6E #3C8E2A #2A8E7C
monochromatic
#300E25 #5F1C49 #8E2A6E #BD3893 #D162AD

Accessibility & contrast

On white

7.76
#8E2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2A6E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A6E#FFFFFF#000000##FFFFFF
##8E2A6E1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334870
Deuteranopia (green-blind)
#52586C
Tritanopia (blue-blind)
#972A48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2a6e;
/* rgb */ color: rgb(142, 42, 110);
/* oklch */ color: oklch(46.1% 0.153 343.1);
Tailwind
colors: {
  custom: {
    50: '#b26c97',
    500: '#8e2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a6e;
$custom-light: #b26c97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a6e",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 319.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46051,
    "c": 0.15339,
    "h": 343.1
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#8E2A6E
secondary
#5DB67A
accent
#DE794A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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