#8E2276#8E2276

#8E2276 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.169 H 338.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8E2276
RGBrgb(142, 34, 118)
HSLhsl(313, 61%, 35%)
HSVhsv(313, 76%, 56%)
CMYKcmyk(0%, 76.1%, 16.9%, 44.3%)
CIE-LABlab(34.40, 52.93, -22.72)
CIE-LCHlch(34.40, 57.60, 336.77°)
OKLaboklab(45.69% 0.157 -0.0616)
OKLCHoklch(45.69% 0.169 338.6)
XYZxyz(14.9977, 8.2043, 17.9298)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2276 #228E3A
analogous
#70228E #8E2276 #8E2240
triadic
#8E2276 #768E22 #22768E
tetradic
#8E2276 #8E7022 #228E3A #22408E
square
#8E2276 #8E7022 #228E3A #22408E
split-complementary
#8E2276 #408E22 #228E70
monochromatic
#2B0A24 #5D164D #8E2276 #BF2E9F #D654B9

Accessibility & contrast

On white

7.95
#8E2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8E2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2276
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2276#FFFFFF#000000##FFFFFF
##8E22761.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#4C5773
Tritanopia (blue-blind)
#962749
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2276;
/* rgb */ color: rgb(142, 34, 118);
/* oklch */ color: oklch(45.7% 0.169 338.6);
Tailwind
colors: {
  custom: {
    50: '#b3699d',
    500: '#8e2276',
    950: '#000000',
  },
}
SCSS
$custom: #8e2276;
$custom-light: #b3699d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2276",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 313.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.16864,
    "h": 338.6
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#8E2276
secondary
#52BA69
accent
#E46743
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2276

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

Preview Lab → · Contrast checker → · Palette generator →

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