#8E276A#8E276A

#8E276A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.155 H 345.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8E276A
RGBrgb(142, 39, 106)
HSLhsl(321, 57%, 35%)
HSVhsv(321, 73%, 56%)
CMYKcmyk(0%, 72.5%, 25.4%, 44.3%)
CIE-LABlab(34.49, 49.45, -15.00)
CIE-LCHlch(34.49, 51.67, 343.13°)
OKLaboklab(45.57% 0.1495 -0.0399)
OKLCHoklch(45.57% 0.155 345.1)
XYZxyz(14.4829, 8.2439, 14.4614)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E276A #278E4B
analogous
#7E278E #8E276A #8E2736
triadic
#8E276A #6A8E27 #276A8E
tetradic
#8E276A #8E7E27 #278E4B #27368E
square
#8E276A #8E7E27 #278E4B #27368E
split-complementary
#8E276A #368E27 #278E7E
monochromatic
#2E0D22 #5E1A46 #8E276A #BE348E #D25DA9

Accessibility & contrast

On white

7.93
#8E276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E276A
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E276A#FFFFFF#000000##FFFFFF
##8E276A1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33466C
Deuteranopia (green-blind)
#525768
Tritanopia (blue-blind)
#982645
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e276a;
/* rgb */ color: rgb(142, 39, 106);
/* oklch */ color: oklch(45.6% 0.155 345.1);
Tailwind
colors: {
  custom: {
    50: '#b36b94',
    500: '#8e276a',
    950: '#000000',
  },
}
SCSS
$custom: #8e276a;
$custom-light: #b36b94;
$custom-dark: #000000;
JSON
{
  "hex": "#8e276a",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 320.971,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.15473,
    "h": 345.1
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#8E276A
secondary
#59B87A
accent
#E07D48
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E276A

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

Preview Lab → · Contrast checker → · Palette generator →

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