#8E2F6D#8E2F6D

#8E2F6D is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.146 H 344.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8E2F6D
RGBrgb(142, 47, 109)
HSLhsl(321, 50%, 37%)
HSVhsv(321, 67%, 56%)
CMYKcmyk(0%, 66.9%, 23.2%, 44.3%)
CIE-LABlab(35.77, 46.65, -14.93)
CIE-LCHlch(35.77, 48.98, 342.25°)
OKLaboklab(46.55% 0.1403 -0.0397)
OKLCHoklch(46.55% 0.146 344.2)
XYZxyz(14.9327, 8.8894, 15.3944)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F6D #2F8E50
analogous
#802F8E #8E2F6D #8E2F3E
triadic
#8E2F6D #6D8E2F #2F6D8E
tetradic
#8E2F6D #8E802F #2F8E50 #2F3E8E
square
#8E2F6D #8E802F #2F8E50 #2F3E8E
split-complementary
#8E2F6D #3E8E2F #2F8E80
monochromatic
#321126 #60204A #8E2F6D #BC3E90 #CE6AAB

Accessibility & contrast

On white

7.56
#8E2F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8E2F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F6D
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F6D#FFFFFF#000000##FFFFFF
##8E2F6D1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A6F
Deuteranopia (green-blind)
#545A6B
Tritanopia (blue-blind)
#972E49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2f6d;
/* rgb */ color: rgb(142, 47, 109);
/* oklch */ color: oklch(46.5% 0.146 344.2);
Tailwind
colors: {
  custom: {
    50: '#b26e97',
    500: '#8e2f6d',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f6d;
$custom-light: #b26e97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f6d",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 320.842,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46549,
    "c": 0.14581,
    "h": 344.2
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#8E2F6D
secondary
#64B580
accent
#DA7F4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E2F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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