#8E2F63#8E2F63

#8E2F63 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.1% C 0.140 H 350.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8E2F63
RGBrgb(142, 47, 99)
HSLhsl(327, 50%, 37%)
HSVhsv(327, 67%, 56%)
CMYKcmyk(0%, 66.9%, 30.3%, 44.3%)
CIE-LABlab(35.37, 45.27, -9.19)
CIE-LCHlch(35.37, 46.19, 348.52°)
OKLaboklab(46.13% 0.1377 -0.0239)
OKLCHoklch(46.13% 0.14 350.1)
XYZxyz(14.4247, 8.6862, 12.7189)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F63 #2F8E5A
analogous
#8A2F8E #8E2F63 #8E2F33
triadic
#8E2F63 #638E2F #2F638E
tetradic
#8E2F63 #8E8A2F #2F8E5A #2F338E
square
#8E2F63 #8E8A2F #2F8E5A #2F338E
split-complementary
#8E2F63 #338E2F #2F8E8A
monochromatic
#321123 #602043 #8E2F63 #BC3E83 #CE6AA0

Accessibility & contrast

On white

7.67
#8E2F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8E2F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F63
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F63#FFFFFF#000000##FFFFFF
##8E2F631.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4865
Deuteranopia (green-blind)
#575961
Tritanopia (blue-blind)
#982B45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2f63;
/* rgb */ color: rgb(142, 47, 99);
/* oklch */ color: oklch(46.1% 0.140 350.1);
Tailwind
colors: {
  custom: {
    50: '#b26e8f',
    500: '#8e2f63',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f63;
$custom-light: #b26e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f63",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 327.158,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.13976,
    "h": 350.1
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#8E2F63
secondary
#64B589
accent
#DA8D4E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8E2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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