#8E276C#8E276C

#8E276C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.156 H 344.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8E276C
RGBrgb(142, 39, 108)
HSLhsl(320, 57%, 35%)
HSVhsv(320, 73%, 56%)
CMYKcmyk(0%, 72.5%, 23.9%, 44.3%)
CIE-LABlab(34.57, 49.73, -16.14)
CIE-LCHlch(34.57, 52.28, 342.02°)
OKLaboklab(45.66% 0.1499 -0.043)
OKLCHoklch(45.66% 0.156 344)
XYZxyz(14.5882, 8.2860, 15.0155)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E276C #278E49
analogous
#7C278E #8E276C #8E2738
triadic
#8E276C #6C8E27 #276C8E
tetradic
#8E276C #8E7C27 #278E49 #27388E
square
#8E276C #8E7C27 #278E49 #27388E
split-complementary
#8E276C #388E27 #278E7C
monochromatic
#2E0D23 #5E1A47 #8E276C #BE3491 #D25DAC

Accessibility & contrast

On white

7.90
#8E276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E276C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E276C#FFFFFF#000000##FFFFFF
##8E276C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466E
Deuteranopia (green-blind)
#51586A
Tritanopia (blue-blind)
#972646
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e276c;
/* rgb */ color: rgb(142, 39, 108);
/* oklch */ color: oklch(45.7% 0.156 344.0);
Tailwind
colors: {
  custom: {
    50: '#b36b96',
    500: '#8e276c',
    950: '#000000',
  },
}
SCSS
$custom: #8e276c;
$custom-light: #b36b96;
$custom-dark: #000000;
JSON
{
  "hex": "#8e276c",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 319.806,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.15598,
    "h": 344
  },
  "luminance": 0.08285
}

Semantic roles & 50–950 ramp

primary
#8E276C
secondary
#59B878
accent
#E07A48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E276C

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

Preview Lab → · Contrast checker → · Palette generator →

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