#8E235C#8E235C

#8E235C is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.152 H 352.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8E235C
RGBrgb(142, 35, 92)
HSLhsl(328, 60%, 35%)
HSVhsv(328, 75%, 56%)
CMYKcmyk(0%, 75.4%, 35.2%, 44.3%)
CIE-LABlab(33.41, 49.12, -7.66)
CIE-LCHlch(33.41, 49.72, 351.14°)
OKLaboklab(44.6% 0.1505 -0.0197)
OKLCHoklch(44.6% 0.152 352.5)
XYZxyz(13.6889, 7.7272, 10.8938)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E235C #238E55
analogous
#8A238E #8E235C #8E2327
triadic
#8E235C #5C8E23 #235C8E
tetradic
#8E235C #8E8A23 #238E55 #23278E
square
#8E235C #8E8A23 #238E55 #23278E
split-complementary
#8E235C #278E23 #238E8A
monochromatic
#2C0B1C #5D173C #8E235C #BF2F7C #D5569A

Accessibility & contrast

On white

8.25
#8E235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E235C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E235C
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E235C#FFFFFF#000000##FFFFFF
##8E235C1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425E
Deuteranopia (green-blind)
#54565A
Tritanopia (blue-blind)
#991A3C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e235c;
/* rgb */ color: rgb(142, 35, 92);
/* oklch */ color: oklch(44.6% 0.152 352.5);
Tailwind
colors: {
  custom: {
    50: '#b3688a',
    500: '#8e235c',
    950: '#000000',
  },
}
SCSS
$custom: #8e235c;
$custom-light: #b3688a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e235c",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 328.037,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44597,
    "c": 0.15178,
    "h": 352.5
  },
  "luminance": 0.07726
}

Semantic roles & 50–950 ramp

primary
#8E235C
secondary
#53B983
accent
#E48F44
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E235C

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

Preview Lab → · Contrast checker → · Palette generator →

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