#8E2976#8E2976

#8E2976 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.160 H 338.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8E2976
RGBrgb(142, 41, 118)
HSLhsl(314, 55%, 36%)
HSVhsv(314, 71%, 56%)
CMYKcmyk(0%, 71.1%, 16.9%, 44.3%)
CIE-LABlab(35.29, 50.41, -21.34)
CIE-LCHlch(35.29, 54.74, 337.06°)
OKLaboklab(46.33% 0.1494 -0.0577)
OKLCHoklch(46.33% 0.16 338.9)
XYZxyz(15.2186, 8.6461, 18.0034)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2976 #298E41
analogous
#73298E #8E2976 #8E2944
triadic
#8E2976 #768E29 #29768E
tetradic
#8E2976 #8E7329 #298E41 #29448E
square
#8E2976 #8E7329 #298E41 #29448E
split-complementary
#8E2976 #448E29 #298E73
monochromatic
#2F0E27 #5F1B4F #8E2976 #BD379D #D160B6

Accessibility & contrast

On white

7.70
#8E2976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8E2976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2976
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2976#FFFFFF#000000##FFFFFF
##8E29761.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4978
Deuteranopia (green-blind)
#4E5974
Tritanopia (blue-blind)
#962D4C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2976;
/* rgb */ color: rgb(142, 41, 118);
/* oklch */ color: oklch(46.3% 0.160 338.9);
Tailwind
colors: {
  custom: {
    50: '#b26c9d',
    500: '#8e2976',
    950: '#000000',
  },
}
SCSS
$custom: #8e2976;
$custom-light: #b26c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2976",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 314.257,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46331,
    "c": 0.16019,
    "h": 338.9
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

primary
#8E2976
secondary
#5CB772
accent
#DF6D49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2976

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

Preview Lab → · Contrast checker → · Palette generator →

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