#8E245F#8E245F

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

Color values

HEX#8E245F
RGBrgb(142, 36, 95)
HSLhsl(327, 60%, 35%)
HSVhsv(327, 75%, 56%)
CMYKcmyk(0%, 74.6%, 33.1%, 44.3%)
CIE-LABlab(33.65, 49.13, -9.23)
CIE-LCHlch(33.65, 49.99, 349.36°)
OKLaboklab(44.81% 0.1502 -0.024)
OKLCHoklch(44.81% 0.152 350.9)
XYZxyz(13.8525, 7.8404, 11.6081)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E245F #248E53
analogous
#88248E #8E245F #8E242A
triadic
#8E245F #5F8E24 #245F8E
tetradic
#8E245F #8E8824 #248E53 #242A8E
square
#8E245F #8E8824 #248E53 #242A8E
split-complementary
#8E245F #2A8E24 #248E88
monochromatic
#2C0B1E #5D183E #8E245F #BF3080 #D5589D

Accessibility & contrast

On white

8.18
#8E245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E245F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E245F#FFFFFF#000000##FFFFFF
##8E245F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e245f;
/* rgb */ color: rgb(142, 36, 95);
/* oklch */ color: oklch(44.8% 0.152 350.9);
Tailwind
colors: {
  custom: {
    50: '#b3698c',
    500: '#8e245f',
    950: '#000000',
  },
}
SCSS
$custom: #8e245f;
$custom-light: #b3698c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e245f",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 326.604,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4481,
    "c": 0.15211,
    "h": 350.9
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#8E245F
secondary
#55B981
accent
#E38B45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E245F

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

Preview Lab → · Contrast checker → · Palette generator →

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