#8E236B#8E236B

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

Color values

HEX#8E236B
RGBrgb(142, 35, 107)
HSLhsl(320, 60%, 35%)
HSVhsv(320, 75%, 56%)
CMYKcmyk(0%, 75.4%, 24.6%, 44.3%)
CIE-LABlab(34.02, 51.03, -16.36)
CIE-LCHlch(34.02, 53.59, 342.23°)
OKLaboklab(45.24% 0.1542 -0.0436)
OKLCHoklch(45.24% 0.16 344.2)
XYZxyz(14.4108, 8.0159, 14.6954)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E236B #238E46
analogous
#7C238E #8E236B #8E2336
triadic
#8E236B #6B8E23 #236B8E
tetradic
#8E236B #8E7C23 #238E46 #23368E
square
#8E236B #8E7C23 #238E46 #23368E
split-complementary
#8E236B #368E23 #238E7C
monochromatic
#2C0B21 #5D1746 #8E236B #BF2F90 #D556AC

Accessibility & contrast

On white

8.07
#8E236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E236B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E236B#FFFFFF#000000##FFFFFF
##8E236B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456D
Deuteranopia (green-blind)
#505669
Tritanopia (blue-blind)
#982244
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e236b;
/* rgb */ color: rgb(142, 35, 107);
/* oklch */ color: oklch(45.2% 0.160 344.2);
Tailwind
colors: {
  custom: {
    50: '#b36995',
    500: '#8e236b',
    950: '#000000',
  },
}
SCSS
$custom: #8e236b;
$custom-light: #b36995;
$custom-dark: #000000;
JSON
{
  "hex": "#8e236b",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 319.626,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45239,
    "c": 0.16022,
    "h": 344.2
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#8E236B
secondary
#53B975
accent
#E47844
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E236B

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

Preview Lab → · Contrast checker → · Palette generator →

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