#8E2A63#8E2A63

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

Color values

HEX#8E2A63
RGBrgb(142, 42, 99)
HSLhsl(326, 54%, 36%)
HSVhsv(326, 70%, 56%)
CMYKcmyk(0%, 70.4%, 30.3%, 44.3%)
CIE-LABlab(34.62, 47.35, -10.33)
CIE-LCHlch(34.62, 48.47, 347.69°)
OKLaboklab(45.57% 0.1442 -0.027)
OKLCHoklch(45.57% 0.147 349.4)
XYZxyz(14.2361, 8.3091, 12.6561)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A63 #2A8E55
analogous
#872A8E #8E2A63 #8E2A31
triadic
#8E2A63 #638E2A #2A638E
tetradic
#8E2A63 #8E872A #2A8E55 #2A318E
square
#8E2A63 #8E872A #2A8E55 #2A318E
split-complementary
#8E2A63 #318E2A #2A8E87
monochromatic
#300E21 #5F1C42 #8E2A63 #BD3884 #D162A1

Accessibility & contrast

On white

7.89
#8E2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E2A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A63
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A63#FFFFFF#000000##FFFFFF
##8E2A631.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384665
Deuteranopia (green-blind)
#555861
Tritanopia (blue-blind)
#982542
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2a63;
/* rgb */ color: rgb(142, 42, 99);
/* oklch */ color: oklch(45.6% 0.147 349.4);
Tailwind
colors: {
  custom: {
    50: '#b36c8f',
    500: '#8e2a63',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a63;
$custom-light: #b36c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a63",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 325.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.14668,
    "h": 349.4
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#8E2A63
secondary
#5DB684
accent
#DE8A4A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8E2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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