#8E2973#8E2973

#8E2973 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.158 H 340.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8E2973
RGBrgb(142, 41, 115)
HSLhsl(316, 55%, 36%)
HSVhsv(316, 71%, 56%)
CMYKcmyk(0%, 71.1%, 19%, 44.3%)
CIE-LABlab(35.15, 49.97, -19.66)
CIE-LCHlch(35.15, 53.70, 338.52°)
OKLaboklab(46.18% 0.1489 -0.053)
OKLCHoklch(46.18% 0.158 340.4)
XYZxyz(15.0432, 8.5759, 17.0794)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2973 #298E44
analogous
#76298E #8E2973 #8E2940
triadic
#8E2973 #738E29 #29738E
tetradic
#8E2973 #8E7629 #298E44 #29408E
square
#8E2973 #8E7629 #298E44 #29408E
split-complementary
#8E2973 #408E29 #298E76
monochromatic
#2F0E26 #5F1B4D #8E2973 #BD3799 #D160B3

Accessibility & contrast

On white

7.74
#8E2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2973
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2973#FFFFFF#000000##FFFFFF
##8E29731.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304875
Deuteranopia (green-blind)
#505971
Tritanopia (blue-blind)
#972C4A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2973;
/* rgb */ color: rgb(142, 41, 115);
/* oklch */ color: oklch(46.2% 0.158 340.4);
Tailwind
colors: {
  custom: {
    50: '#b26c9b',
    500: '#8e2973',
    950: '#000000',
  },
}
SCSS
$custom: #8e2973;
$custom-light: #b26c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2973",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 316.04,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46185,
    "c": 0.15808,
    "h": 340.4
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#8E2973
secondary
#5CB774
accent
#DF7149
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2973

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

Preview Lab → · Contrast checker → · Palette generator →

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