#8E2279#8E2279

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

Color values

HEX#8E2279
RGBrgb(142, 34, 121)
HSLhsl(312, 61%, 35%)
HSVhsv(312, 76%, 56%)
CMYKcmyk(0%, 76.1%, 14.8%, 44.3%)
CIE-LABlab(34.55, 53.37, -24.37)
CIE-LCHlch(34.55, 58.67, 335.45°)
OKLaboklab(45.84% 0.1574 -0.0663)
OKLCHoklch(45.84% 0.171 337.2)
XYZxyz(15.1788, 8.2767, 18.8836)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2279 #228E37
analogous
#6D228E #8E2279 #8E2243
triadic
#8E2279 #798E22 #22798E
tetradic
#8E2279 #8E6D22 #228E37 #22438E
square
#8E2279 #8E6D22 #228E37 #22438E
split-complementary
#8E2279 #438E22 #228E6D
monochromatic
#2B0A25 #5D164F #8E2279 #BF2EA3 #D654BD

Accessibility & contrast

On white

7.91
#8E2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2279
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2279#FFFFFF#000000##FFFFFF
##8E22791.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#4B5776
Tritanopia (blue-blind)
#96294B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2279;
/* rgb */ color: rgb(142, 34, 121);
/* oklch */ color: oklch(45.8% 0.171 337.2);
Tailwind
colors: {
  custom: {
    50: '#b369a0',
    500: '#8e2279',
    950: '#000000',
  },
}
SCSS
$custom: #8e2279;
$custom-light: #b369a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2279",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 311.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.17075,
    "h": 337.2
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#8E2279
secondary
#52BA66
accent
#E46343
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2279

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

Preview Lab → · Contrast checker → · Palette generator →

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