#8E235E#8E235E

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

Color values

HEX#8E235E
RGBrgb(142, 35, 94)
HSLhsl(327, 60%, 35%)
HSVhsv(327, 75%, 56%)
CMYKcmyk(0%, 75.4%, 33.8%, 44.3%)
CIE-LABlab(33.48, 49.36, -8.84)
CIE-LCHlch(33.48, 50.15, 349.85°)
OKLaboklab(44.68% 0.1511 -0.0229)
OKLCHoklch(44.68% 0.153 351.4)
XYZxyz(13.7775, 7.7626, 11.3603)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E235E #238E53
analogous
#89238E #8E235E #8E2328
triadic
#8E235E #5E8E23 #235E8E
tetradic
#8E235E #8E8923 #238E53 #23288E
square
#8E235E #8E8923 #238E53 #23288E
split-complementary
#8E235E #288E23 #238E89
monochromatic
#2C0B1D #5D173D #8E235E #BF2F7F #D5569C

Accessibility & contrast

On white

8.23
#8E235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E235E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E235E#FFFFFF#000000##FFFFFF
##8E235E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354260
Deuteranopia (green-blind)
#54565C
Tritanopia (blue-blind)
#991B3D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e235e;
/* rgb */ color: rgb(142, 35, 94);
/* oklch */ color: oklch(44.7% 0.153 351.4);
Tailwind
colors: {
  custom: {
    50: '#b3688b',
    500: '#8e235e',
    950: '#000000',
  },
}
SCSS
$custom: #8e235e;
$custom-light: #b3688b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e235e",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 326.916,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44677,
    "c": 0.15278,
    "h": 351.4
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#8E235E
secondary
#53B981
accent
#E48C44
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E235E

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

Preview Lab → · Contrast checker → · Palette generator →

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