#8E236F#8E236F

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

Color values

HEX#8E236F
RGBrgb(142, 35, 111)
HSLhsl(317, 60%, 35%)
HSVhsv(317, 75%, 56%)
CMYKcmyk(0%, 75.4%, 21.8%, 44.3%)
CIE-LABlab(34.19, 51.58, -18.62)
CIE-LCHlch(34.19, 54.84, 340.15°)
OKLaboklab(45.43% 0.1549 -0.05)
OKLCHoklch(45.43% 0.163 342.1)
XYZxyz(14.6261, 8.1020, 15.8294)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E236F #238E42
analogous
#78238E #8E236F #8E233A
triadic
#8E236F #6F8E23 #236F8E
tetradic
#8E236F #8E7823 #238E42 #233A8E
square
#8E236F #8E7823 #238E42 #233A8E
split-complementary
#8E236F #3A8E23 #238E78
monochromatic
#2C0B22 #5D1749 #8E236F #BF2F95 #D556B0

Accessibility & contrast

On white

8.01
#8E236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E236F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E236F#FFFFFF#000000##FFFFFF
##8E236F1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4571
Deuteranopia (green-blind)
#4F576D
Tritanopia (blue-blind)
#972446
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e236f;
/* rgb */ color: rgb(142, 35, 111);
/* oklch */ color: oklch(45.4% 0.163 342.1);
Tailwind
colors: {
  custom: {
    50: '#b36998',
    500: '#8e236f',
    950: '#000000',
  },
}
SCSS
$custom: #8e236f;
$custom-light: #b36998;
$custom-dark: #000000;
JSON
{
  "hex": "#8e236f",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 317.383,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45427,
    "c": 0.16278,
    "h": 342.1
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#8E236F
secondary
#53B971
accent
#E47244
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E236F

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

Preview Lab → · Contrast checker → · Palette generator →

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