#8E247B#8E247B

#8E247B is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.170 H 336.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8E247B
RGBrgb(142, 36, 123)
HSLhsl(311, 60%, 35%)
HSVhsv(311, 75%, 56%)
CMYKcmyk(0%, 74.6%, 13.4%, 44.3%)
CIE-LABlab(34.89, 53.00, -25.10)
CIE-LCHlch(34.89, 58.64, 334.66°)
OKLaboklab(46.12% 0.1555 -0.0684)
OKLCHoklch(46.12% 0.17 336.3)
XYZxyz(15.3616, 8.4440, 19.5559)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E247B #248E37
analogous
#6C248E #8E247B #8E2446
triadic
#8E247B #7B8E24 #247B8E
tetradic
#8E247B #8E6C24 #248E37 #24468E
square
#8E247B #8E6C24 #248E37 #24468E
split-complementary
#8E247B #468E24 #248E6C
monochromatic
#2C0B26 #5D1851 #8E247B #BF30A5 #D558BE

Accessibility & contrast

On white

7.81
#8E247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E247B
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E247B#FFFFFF#000000##FFFFFF
##8E247B1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487D
Deuteranopia (green-blind)
#4A5878
Tritanopia (blue-blind)
#962B4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e247b;
/* rgb */ color: rgb(142, 36, 123);
/* oklch */ color: oklch(46.1% 0.170 336.3);
Tailwind
colors: {
  custom: {
    50: '#b26aa1',
    500: '#8e247b',
    950: '#000000',
  },
}
SCSS
$custom: #8e247b;
$custom-light: #b26aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e247b",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 310.755,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46119,
    "c": 0.16991,
    "h": 336.3
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#8E247B
secondary
#55B967
accent
#E36145
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8E247B

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

Preview Lab → · Contrast checker → · Palette generator →

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