#8E2179#8E2179

#8E2179 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.172 H 337.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8E2179
RGBrgb(142, 33, 121)
HSLhsl(312, 62%, 34%)
HSVhsv(312, 77%, 56%)
CMYKcmyk(0%, 76.8%, 14.8%, 44.3%)
CIE-LABlab(34.44, 53.70, -24.55)
CIE-LCHlch(34.44, 59.05, 335.43°)
OKLaboklab(45.76% 0.1583 -0.0668)
OKLCHoklch(45.76% 0.172 337.1)
XYZxyz(15.1507, 8.2204, 18.8742)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2179 #218E36
analogous
#6D218E #8E2179 #8E2142
triadic
#8E2179 #798E21 #21798E
tetradic
#8E2179 #8E6D21 #218E36 #21428E
square
#8E2179 #8E6D21 #218E36 #21428E
split-complementary
#8E2179 #428E21 #218E6D
monochromatic
#2B0A24 #5C154F #8E2179 #C02DA3 #D752BD

Accessibility & contrast

On white

7.94
#8E2179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2179
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2179#FFFFFF#000000##FFFFFF
##8E21791.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467B
Deuteranopia (green-blind)
#4A5776
Tritanopia (blue-blind)
#96284B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2179;
/* rgb */ color: rgb(142, 33, 121);
/* oklch */ color: oklch(45.8% 0.172 337.1);
Tailwind
colors: {
  custom: {
    50: '#b369a0',
    500: '#8e2179',
    950: '#000000',
  },
}
SCSS
$custom: #8e2179;
$custom-light: #b369a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2179",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 311.56,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45759,
    "c": 0.17184,
    "h": 337.1
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#8E2179
secondary
#50BA65
accent
#E56242
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2179

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

Preview Lab → · Contrast checker → · Palette generator →

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