#8E235F#8E235F

#8E235F is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.153 H 350.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8E235F
RGBrgb(142, 35, 95)
HSLhsl(326, 60%, 35%)
HSVhsv(326, 75%, 56%)
CMYKcmyk(0%, 75.4%, 33.1%, 44.3%)
CIE-LABlab(33.52, 49.48, -9.42)
CIE-LCHlch(33.52, 50.37, 349.22°)
OKLaboklab(44.72% 0.1513 -0.0245)
OKLCHoklch(44.72% 0.153 350.8)
XYZxyz(13.8227, 7.7807, 11.5981)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E235F #238E52
analogous
#88238E #8E235F #8E232A
triadic
#8E235F #5F8E23 #235F8E
tetradic
#8E235F #8E8823 #238E52 #232A8E
square
#8E235F #8E8823 #238E52 #232A8E
split-complementary
#8E235F #2A8E23 #238E88
monochromatic
#2C0B1D #5D173E #8E235F #BF2F80 #D5569D

Accessibility & contrast

On white

8.22
#8E235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E235F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E235F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E235F#FFFFFF#000000##FFFFFF
##8E235F1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354361
Deuteranopia (green-blind)
#54565D
Tritanopia (blue-blind)
#991C3E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e235f;
/* rgb */ color: rgb(142, 35, 95);
/* oklch */ color: oklch(44.7% 0.153 350.8);
Tailwind
colors: {
  custom: {
    50: '#b3688c',
    500: '#8e235f',
    950: '#000000',
  },
}
SCSS
$custom: #8e235f;
$custom-light: #b3688c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e235f",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 326.355,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44718,
    "c": 0.1533,
    "h": 350.8
  },
  "luminance": 0.07779
}

Semantic roles & 50–950 ramp

primary
#8E235F
secondary
#53B980
accent
#E48A44
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E235F

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

Preview Lab → · Contrast checker → · Palette generator →

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