#8E237A#8E237A

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

Color values

HEX#8E237A
RGBrgb(142, 35, 122)
HSLhsl(311, 60%, 35%)
HSVhsv(311, 75%, 56%)
CMYKcmyk(0%, 75.4%, 14.1%, 44.3%)
CIE-LABlab(34.72, 53.19, -24.74)
CIE-LCHlch(34.72, 58.66, 335.06°)
OKLaboklab(45.98% 0.1565 -0.0673)
OKLCHoklch(45.98% 0.17 336.7)
XYZxyz(15.2695, 8.3594, 19.2179)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E237A #238E37
analogous
#6D238E #8E237A #8E2345
triadic
#8E237A #7A8E23 #237A8E
tetradic
#8E237A #8E6D23 #238E37 #23458E
square
#8E237A #8E6D23 #238E37 #23458E
split-complementary
#8E237A #458E23 #238E6D
monochromatic
#2C0B26 #5D1750 #8E237A #BF2FA4 #D556BE

Accessibility & contrast

On white

7.86
#8E237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8E237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E237A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E237A#FFFFFF#000000##FFFFFF
##8E237A1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#4B5777
Tritanopia (blue-blind)
#962A4C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e237a;
/* rgb */ color: rgb(142, 35, 122);
/* oklch */ color: oklch(46.0% 0.170 336.7);
Tailwind
colors: {
  custom: {
    50: '#b369a0',
    500: '#8e237a',
    950: '#000000',
  },
}
SCSS
$custom: #8e237a;
$custom-light: #b369a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e237a",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 311.215,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45979,
    "c": 0.17034,
    "h": 336.7
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#8E237A
secondary
#53B966
accent
#E46244
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8E237A

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

Preview Lab → · Contrast checker → · Palette generator →

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