#8E2A68#8E2A68

#8E2A68 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.150 H 346.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8E2A68
RGBrgb(142, 42, 104)
HSLhsl(323, 54%, 36%)
HSVhsv(323, 70%, 56%)
CMYKcmyk(0%, 70.4%, 26.8%, 44.3%)
CIE-LABlab(34.82, 48.02, -13.22)
CIE-LCHlch(34.82, 49.80, 344.61°)
OKLaboklab(45.78% 0.1455 -0.0349)
OKLCHoklch(45.78% 0.15 346.5)
XYZxyz(14.4826, 8.4077, 13.9542)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A68 #2A8E50
analogous
#822A8E #8E2A68 #8E2A36
triadic
#8E2A68 #688E2A #2A688E
tetradic
#8E2A68 #8E822A #2A8E50 #2A368E
square
#8E2A68 #8E822A #2A8E50 #2A368E
split-complementary
#8E2A68 #368E2A #2A8E82
monochromatic
#300E23 #5F1C45 #8E2A68 #BD388B #D162A6

Accessibility & contrast

On white

7.83
#8E2A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2A68
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A68#FFFFFF#000000##FFFFFF
##8E2A681.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36476A
Deuteranopia (green-blind)
#545866
Tritanopia (blue-blind)
#982845
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2a68;
/* rgb */ color: rgb(142, 42, 104);
/* oklch */ color: oklch(45.8% 0.150 346.5);
Tailwind
colors: {
  custom: {
    50: '#b36c93',
    500: '#8e2a68',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a68;
$custom-light: #b36c93;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a68",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 322.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45783,
    "c": 0.14959,
    "h": 346.5
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#8E2A68
secondary
#5DB67F
accent
#DE824A
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E2A68

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

Preview Lab → · Contrast checker → · Palette generator →

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