#8E2A64#8E2A64

#8E2A64 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.147 H 348.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8E2A64
RGBrgb(142, 42, 100)
HSLhsl(325, 54%, 36%)
HSVhsv(325, 70%, 56%)
CMYKcmyk(0%, 70.4%, 29.6%, 44.3%)
CIE-LABlab(34.66, 47.48, -10.91)
CIE-LCHlch(34.66, 48.72, 347.06°)
OKLaboklab(45.61% 0.1444 -0.0286)
OKLCHoklch(45.61% 0.147 348.8)
XYZxyz(14.2842, 8.3284, 12.9094)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A64 #2A8E54
analogous
#862A8E #8E2A64 #8E2A32
triadic
#8E2A64 #648E2A #2A648E
tetradic
#8E2A64 #8E862A #2A8E54 #2A328E
square
#8E2A64 #8E862A #2A8E54 #2A328E
split-complementary
#8E2A64 #328E2A #2A8E86
monochromatic
#300E21 #5F1C43 #8E2A64 #BD3885 #D162A2

Accessibility & contrast

On white

7.88
#8E2A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8E2A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A64
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A64#FFFFFF#000000##FFFFFF
##8E2A641.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384666
Deuteranopia (green-blind)
#555862
Tritanopia (blue-blind)
#982643
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2a64;
/* rgb */ color: rgb(142, 42, 100);
/* oklch */ color: oklch(45.6% 0.147 348.8);
Tailwind
colors: {
  custom: {
    50: '#b36c90',
    500: '#8e2a64',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a64;
$custom-light: #b36c90;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a64",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 325.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45613,
    "c": 0.14724,
    "h": 348.8
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#8E2A64
secondary
#5DB683
accent
#DE884A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8E2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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