#8E245D#8E245D

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

Color values

HEX#8E245D
RGBrgb(142, 36, 93)
HSLhsl(328, 60%, 35%)
HSVhsv(328, 75%, 56%)
CMYKcmyk(0%, 74.6%, 34.5%, 44.3%)
CIE-LABlab(33.57, 48.88, -8.06)
CIE-LCHlch(33.57, 49.54, 350.64°)
OKLaboklab(44.73% 0.1497 -0.0208)
OKLCHoklch(44.73% 0.151 352.1)
XYZxyz(13.7628, 7.8045, 11.1354)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E245D #248E55
analogous
#8A248E #8E245D #8E2428
triadic
#8E245D #5D8E24 #245D8E
tetradic
#8E245D #8E8A24 #248E55 #24288E
square
#8E245D #8E8A24 #248E55 #24288E
split-complementary
#8E245D #288E24 #248E8A
monochromatic
#2C0B1D #5D183D #8E245D #BF307D #D5589B

Accessibility & contrast

On white

8.20
#8E245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E245D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E245D#FFFFFF#000000##FFFFFF
##8E245D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36435F
Deuteranopia (green-blind)
#54565B
Tritanopia (blue-blind)
#991C3D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e245d;
/* rgb */ color: rgb(142, 36, 93);
/* oklch */ color: oklch(44.7% 0.151 352.1);
Tailwind
colors: {
  custom: {
    50: '#b3698a',
    500: '#8e245d',
    950: '#000000',
  },
}
SCSS
$custom: #8e245d;
$custom-light: #b3698a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e245d",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 327.736,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44729,
    "c": 0.15109,
    "h": 352.1
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#8E245D
secondary
#55B983
accent
#E38E45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E245D

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

Preview Lab → · Contrast checker → · Palette generator →

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