#8E2D63#8E2D63

#8E2D63 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.143 H 349.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8E2D63
RGBrgb(142, 45, 99)
HSLhsl(327, 52%, 37%)
HSVhsv(327, 68%, 56%)
CMYKcmyk(0%, 68.3%, 30.3%, 44.3%)
CIE-LABlab(35.06, 46.12, -9.66)
CIE-LCHlch(35.06, 47.12, 348.17°)
OKLaboklab(45.9% 0.1403 -0.0252)
OKLCHoklch(45.9% 0.143 349.8)
XYZxyz(14.3465, 8.5299, 12.6929)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D63 #2D8E58
analogous
#892D8E #8E2D63 #8E2D33
triadic
#8E2D63 #638E2D #2D638E
tetradic
#8E2D63 #8E892D #2D8E58 #2D338E
square
#8E2D63 #8E892D #2D8E58 #2D338E
split-complementary
#8E2D63 #338E2D #2D8E89
monochromatic
#311022 #601E43 #8E2D63 #BC3C83 #CF67A1

Accessibility & contrast

On white

7.76
#8E2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8E2D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D63
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D63#FFFFFF#000000##FFFFFF
##8E2D631.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4865
Deuteranopia (green-blind)
#565961
Tritanopia (blue-blind)
#982844
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2d63;
/* rgb */ color: rgb(142, 45, 99);
/* oklch */ color: oklch(45.9% 0.143 349.8);
Tailwind
colors: {
  custom: {
    50: '#b36d8f',
    500: '#8e2d63',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d63;
$custom-light: #b36d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d63",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 326.598,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.14258,
    "h": 349.8
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#8E2D63
secondary
#61B587
accent
#DB8C4C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8E2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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