#8E276E#8E276E

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

Color values

HEX#8E276E
RGBrgb(142, 39, 110)
HSLhsl(319, 57%, 35%)
HSVhsv(319, 73%, 56%)
CMYKcmyk(0%, 72.5%, 22.5%, 44.3%)
CIE-LABlab(34.66, 50.00, -17.27)
CIE-LCHlch(34.66, 52.90, 340.95°)
OKLaboklab(45.75% 0.1503 -0.0462)
OKLCHoklch(45.75% 0.157 342.9)
XYZxyz(14.6958, 8.3291, 15.5826)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E276E #278E47
analogous
#7A278E #8E276E #8E273A
triadic
#8E276E #6E8E27 #276E8E
tetradic
#8E276E #8E7A27 #278E47 #273A8E
square
#8E276E #8E7A27 #278E47 #273A8E
split-complementary
#8E276E #3A8E27 #278E7A
monochromatic
#2E0D24 #5E1A49 #8E276E #BE3493 #D25DAE

Accessibility & contrast

On white

7.88
#8E276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8E276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E276E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E276E#FFFFFF#000000##FFFFFF
##8E276E1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314770
Deuteranopia (green-blind)
#51586C
Tritanopia (blue-blind)
#972747
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e276e;
/* rgb */ color: rgb(142, 39, 110);
/* oklch */ color: oklch(45.8% 0.157 342.9);
Tailwind
colors: {
  custom: {
    50: '#b36b97',
    500: '#8e276e',
    950: '#000000',
  },
}
SCSS
$custom: #8e276e;
$custom-light: #b36b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e276e",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 318.641,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.15727,
    "h": 342.9
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E276E

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

Preview Lab → · Contrast checker → · Palette generator →

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