#8E245E#8E245E

#8E245E is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.152 H 351.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8E245E
RGBrgb(142, 36, 94)
HSLhsl(327, 60%, 35%)
HSVhsv(327, 75%, 56%)
CMYKcmyk(0%, 74.6%, 33.8%, 44.3%)
CIE-LABlab(33.61, 49.01, -8.65)
CIE-LCHlch(33.61, 49.76, 349.99°)
OKLaboklab(44.77% 0.1499 -0.0224)
OKLCHoklch(44.77% 0.152 351.5)
XYZxyz(13.8074, 7.8223, 11.3702)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E245E #248E54
analogous
#89248E #8E245E #8E2429
triadic
#8E245E #5E8E24 #245E8E
tetradic
#8E245E #8E8924 #248E54 #24298E
square
#8E245E #8E8924 #248E54 #24298E
split-complementary
#8E245E #298E24 #248E89
monochromatic
#2C0B1D #5D183E #8E245E #BF307E #D5589C

Accessibility & contrast

On white

8.19
#8E245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E245E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E245E#FFFFFF#000000##FFFFFF
##8E245E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e245e;
/* rgb */ color: rgb(142, 36, 94);
/* oklch */ color: oklch(44.8% 0.152 351.5);
Tailwind
colors: {
  custom: {
    50: '#b3698b',
    500: '#8e245e',
    950: '#000000',
  },
}
SCSS
$custom: #8e245e;
$custom-light: #b3698b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e245e",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 327.17,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44769,
    "c": 0.1516,
    "h": 351.5
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#8E245E
secondary
#55B982
accent
#E38C45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E245E

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

Preview Lab → · Contrast checker → · Palette generator →

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