#8E236D#8E236D

#8E236D is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.161 H 343.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8E236D
RGBrgb(142, 35, 109)
HSLhsl(319, 60%, 35%)
HSVhsv(319, 75%, 56%)
CMYKcmyk(0%, 75.4%, 23.2%, 44.3%)
CIE-LABlab(34.10, 51.30, -17.49)
CIE-LCHlch(34.10, 54.20, 341.17°)
OKLaboklab(45.33% 0.1545 -0.0468)
OKLCHoklch(45.33% 0.161 343.1)
XYZxyz(14.5172, 8.0585, 15.2559)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E236D #238E44
analogous
#7A238E #8E236D #8E2337
triadic
#8E236D #6D8E23 #236D8E
tetradic
#8E236D #8E7A23 #238E44 #23378E
square
#8E236D #8E7A23 #238E44 #23378E
split-complementary
#8E236D #378E23 #238E7A
monochromatic
#2C0B22 #5D1747 #8E236D #BF2F93 #D556AE

Accessibility & contrast

On white

8.04
#8E236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8E236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E236D
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E236D#FFFFFF#000000##FFFFFF
##8E236D1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E456F
Deuteranopia (green-blind)
#4F576B
Tritanopia (blue-blind)
#972345
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e236d;
/* rgb */ color: rgb(142, 35, 109);
/* oklch */ color: oklch(45.3% 0.161 343.1);
Tailwind
colors: {
  custom: {
    50: '#b36997',
    500: '#8e236d',
    950: '#000000',
  },
}
SCSS
$custom: #8e236d;
$custom-light: #b36997;
$custom-dark: #000000;
JSON
{
  "hex": "#8e236d",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 318.505,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.16147,
    "h": 343.1
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#8E236D
secondary
#53B973
accent
#E47544
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E236D

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

Preview Lab → · Contrast checker → · Palette generator →

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