#8E276D#8E276D

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

Color values

HEX#8E276D
RGBrgb(142, 39, 109)
HSLhsl(319, 57%, 35%)
HSVhsv(319, 73%, 56%)
CMYKcmyk(0%, 72.5%, 23.2%, 44.3%)
CIE-LABlab(34.62, 49.86, -16.70)
CIE-LCHlch(34.62, 52.59, 341.48°)
OKLaboklab(45.7% 0.1501 -0.0446)
OKLCHoklch(45.7% 0.157 343.4)
XYZxyz(14.6417, 8.3074, 15.2974)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E276D #278E48
analogous
#7B278E #8E276D #8E273A
triadic
#8E276D #6D8E27 #276D8E
tetradic
#8E276D #8E7B27 #278E48 #273A8E
square
#8E276D #8E7B27 #278E48 #273A8E
split-complementary
#8E276D #3A8E27 #278E7B
monochromatic
#2E0D23 #5E1A48 #8E276D #BE3492 #D25DAD

Accessibility & contrast

On white

7.89
#8E276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E276D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E276D#FFFFFF#000000##FFFFFF
##8E276D1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31466F
Deuteranopia (green-blind)
#51586B
Tritanopia (blue-blind)
#972746
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e276d;
/* rgb */ color: rgb(142, 39, 109);
/* oklch */ color: oklch(45.7% 0.157 343.4);
Tailwind
colors: {
  custom: {
    50: '#b36b97',
    500: '#8e276d',
    950: '#000000',
  },
}
SCSS
$custom: #8e276d;
$custom-light: #b36b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e276d",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 319.223,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45704,
    "c": 0.15663,
    "h": 343.4
  },
  "luminance": 0.08306
}

Semantic roles & 50–950 ramp

primary
#8E276D
secondary
#59B877
accent
#E07948
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E276D

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

Preview Lab → · Contrast checker → · Palette generator →

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