#8E236E#8E236E

#8E236E is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.162 H 342.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8E236E
RGBrgb(142, 35, 110)
HSLhsl(318, 60%, 35%)
HSVhsv(318, 75%, 56%)
CMYKcmyk(0%, 75.4%, 22.5%, 44.3%)
CIE-LABlab(34.15, 51.44, -18.06)
CIE-LCHlch(34.15, 54.52, 340.66°)
OKLaboklab(45.38% 0.1547 -0.0484)
OKLCHoklch(45.38% 0.162 342.6)
XYZxyz(14.5713, 8.0801, 15.5411)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E236E #238E43
analogous
#79238E #8E236E #8E2339
triadic
#8E236E #6E8E23 #236E8E
tetradic
#8E236E #8E7923 #238E43 #23398E
square
#8E236E #8E7923 #238E43 #23398E
split-complementary
#8E236E #398E23 #238E79
monochromatic
#2C0B22 #5D1748 #8E236E #BF2F94 #D556AF

Accessibility & contrast

On white

8.03
#8E236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8E236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E236E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E236E#FFFFFF#000000##FFFFFF
##8E236E1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4570
Deuteranopia (green-blind)
#4F576C
Tritanopia (blue-blind)
#972445
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e236e;
/* rgb */ color: rgb(142, 35, 110);
/* oklch */ color: oklch(45.4% 0.162 342.6);
Tailwind
colors: {
  custom: {
    50: '#b36997',
    500: '#8e236e',
    950: '#000000',
  },
}
SCSS
$custom: #8e236e;
$custom-light: #b36997;
$custom-dark: #000000;
JSON
{
  "hex": "#8e236e",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 317.944,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.16212,
    "h": 342.6
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#8E236E
secondary
#53B972
accent
#E47444
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E236E

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

Preview Lab → · Contrast checker → · Palette generator →

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