#8E2C63#8E2C63

#8E2C63 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.8% C 0.144 H 349.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8E2C63
RGBrgb(142, 44, 99)
HSLhsl(326, 53%, 36%)
HSVhsv(326, 69%, 56%)
CMYKcmyk(0%, 69%, 30.3%, 44.3%)
CIE-LABlab(34.91, 46.54, -9.89)
CIE-LCHlch(34.91, 47.58, 348.00°)
OKLaboklab(45.79% 0.1416 -0.0258)
OKLCHoklch(45.79% 0.144 349.7)
XYZxyz(14.3088, 8.4545, 12.6803)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2C63 #2C8E57
analogous
#882C8E #8E2C63 #8E2C32
triadic
#8E2C63 #638E2C #2C638E
tetradic
#8E2C63 #8E882C #2C8E57 #2C328E
square
#8E2C63 #8E882C #2C8E57 #2C328E
split-complementary
#8E2C63 #328E2C #2C8E88
monochromatic
#310F22 #5F1E42 #8E2C63 #BD3A84 #CF65A1

Accessibility & contrast

On white

7.80
#8E2C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8E2C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2C63
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2C63#FFFFFF#000000##FFFFFF
##8E2C631.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4765
Deuteranopia (green-blind)
#565861
Tritanopia (blue-blind)
#982743
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2c63;
/* rgb */ color: rgb(142, 44, 99);
/* oklch */ color: oklch(45.8% 0.144 349.7);
Tailwind
colors: {
  custom: {
    50: '#b36d8f',
    500: '#8e2c63',
    950: '#000000',
  },
}
SCSS
$custom: #8e2c63;
$custom-light: #b36d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2c63",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 326.327,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.14397,
    "h": 349.7
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#8E2C63
secondary
#60B686
accent
#DC8B4C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8E2C63

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

Preview Lab → · Contrast checker → · Palette generator →

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