#8E247C#8E247C

#8E247C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.171 H 335.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8E247C
RGBrgb(142, 36, 124)
HSLhsl(310, 60%, 35%)
HSVhsv(310, 75%, 56%)
CMYKcmyk(0%, 74.6%, 12.7%, 44.3%)
CIE-LABlab(34.94, 53.15, -25.64)
CIE-LCHlch(34.94, 59.01, 334.24°)
OKLaboklab(46.17% 0.1557 -0.0699)
OKLCHoklch(46.17% 0.171 335.8)
XYZxyz(15.4245, 8.4692, 19.8872)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E247C #248E36
analogous
#6B248E #8E247C #8E2447
triadic
#8E247C #7C8E24 #247C8E
tetradic
#8E247C #8E6B24 #248E36 #24478E
square
#8E247C #8E6B24 #248E36 #24478E
split-complementary
#8E247C #478E24 #248E6B
monochromatic
#2C0B27 #5D1851 #8E247C #BF30A7 #D558BF

Accessibility & contrast

On white

7.80
#8E247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8E247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E247C
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E247C#FFFFFF#000000##FFFFFF
##8E247C1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#4A5879
Tritanopia (blue-blind)
#952C4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e247c;
/* rgb */ color: rgb(142, 36, 124);
/* oklch */ color: oklch(46.2% 0.171 335.8);
Tailwind
colors: {
  custom: {
    50: '#b26aa2',
    500: '#8e247c',
    950: '#000000',
  },
}
SCSS
$custom: #8e247c;
$custom-light: #b26aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e247c",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 310.189,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.17065,
    "h": 335.8
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#8E247C
secondary
#55B966
accent
#E36045
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E247C

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

Preview Lab → · Contrast checker → · Palette generator →

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