#8E236A#8E236A

#8E236A is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.160 H 344.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8E236A
RGBrgb(142, 35, 106)
HSLhsl(320, 60%, 35%)
HSVhsv(320, 75%, 56%)
CMYKcmyk(0%, 75.4%, 25.4%, 44.3%)
CIE-LABlab(33.97, 50.89, -15.79)
CIE-LCHlch(33.97, 53.29, 342.77°)
OKLaboklab(45.19% 0.154 -0.042)
OKLCHoklch(45.19% 0.16 344.7)
XYZxyz(14.3585, 7.9950, 14.4199)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E236A #238E47
analogous
#7D238E #8E236A #8E2335
triadic
#8E236A #6A8E23 #236A8E
tetradic
#8E236A #8E7D23 #238E47 #23358E
square
#8E236A #8E7D23 #238E47 #23358E
split-complementary
#8E236A #358E23 #238E7D
monochromatic
#2C0B21 #5D1745 #8E236A #BF2F8F #D556AB

Accessibility & contrast

On white

8.08
#8E236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E236A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E236A#FFFFFF#000000##FFFFFF
##8E236A1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30446C
Deuteranopia (green-blind)
#505668
Tritanopia (blue-blind)
#982243
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e236a;
/* rgb */ color: rgb(142, 35, 106);
/* oklch */ color: oklch(45.2% 0.160 344.7);
Tailwind
colors: {
  custom: {
    50: '#b36994',
    500: '#8e236a',
    950: '#000000',
  },
}
SCSS
$custom: #8e236a;
$custom-light: #b36994;
$custom-dark: #000000;
JSON
{
  "hex": "#8e236a",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 320.187,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45193,
    "c": 0.15959,
    "h": 344.7
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#8E236A
secondary
#53B976
accent
#E47A44
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E236A

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

Preview Lab → · Contrast checker → · Palette generator →

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