#8E2B63#8E2B63

#8E2B63 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.145 H 349.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8E2B63
RGBrgb(142, 43, 99)
HSLhsl(326, 54%, 36%)
HSVhsv(326, 70%, 56%)
CMYKcmyk(0%, 69.7%, 30.3%, 44.3%)
CIE-LABlab(34.76, 46.95, -10.11)
CIE-LCHlch(34.76, 48.02, 347.84°)
OKLaboklab(45.68% 0.1429 -0.0264)
OKLCHoklch(45.68% 0.145 349.5)
XYZxyz(14.2720, 8.3809, 12.6680)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B63 #2B8E56
analogous
#882B8E #8E2B63 #8E2B31
triadic
#8E2B63 #638E2B #2B638E
tetradic
#8E2B63 #8E882B #2B8E56 #2B318E
square
#8E2B63 #8E882B #2B8E56 #2B318E
split-complementary
#8E2B63 #318E2B #2B8E88
monochromatic
#300F22 #5F1D42 #8E2B63 #BD3984 #D063A1

Accessibility & contrast

On white

7.85
#8E2B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E2B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B63
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B63#FFFFFF#000000##FFFFFF
##8E2B631.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394765
Deuteranopia (green-blind)
#555861
Tritanopia (blue-blind)
#982643
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2b63;
/* rgb */ color: rgb(142, 43, 99);
/* oklch */ color: oklch(45.7% 0.145 349.5);
Tailwind
colors: {
  custom: {
    50: '#b36c8f',
    500: '#8e2b63',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b63;
$custom-light: #b36c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b63",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 326.061,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45678,
    "c": 0.14533,
    "h": 349.5
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#8E2B63
secondary
#5FB685
accent
#DD8A4B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8E2B63

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

Preview Lab → · Contrast checker → · Palette generator →

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