#8E2F72#8E2F72

#8E2F72 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.149 H 341.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8E2F72
RGBrgb(142, 47, 114)
HSLhsl(318, 50%, 37%)
HSVhsv(318, 67%, 56%)
CMYKcmyk(0%, 66.9%, 19.7%, 44.3%)
CIE-LABlab(35.98, 47.38, -17.75)
CIE-LCHlch(35.98, 50.60, 339.46°)
OKLaboklab(46.78% 0.1414 -0.0476)
OKLCHoklch(46.78% 0.149 341.4)
XYZxyz(15.2095, 9.0001, 16.8525)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F72 #2F8E4B
analogous
#7B2F8E #8E2F72 #8E2F43
triadic
#8E2F72 #728E2F #2F728E
tetradic
#8E2F72 #8E7B2F #2F8E4B #2F438E
square
#8E2F72 #8E7B2F #2F8E4B #2F438E
split-complementary
#8E2F72 #438E2F #2F8E7B
monochromatic
#321128 #60204D #8E2F72 #BC3E97 #CE6AB0

Accessibility & contrast

On white

7.50
#8E2F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E2F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F72
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F72#FFFFFF#000000##FFFFFF
##8E2F721.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B74
Deuteranopia (green-blind)
#535A70
Tritanopia (blue-blind)
#97304C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2f72;
/* rgb */ color: rgb(142, 47, 114);
/* oklch */ color: oklch(46.8% 0.149 341.4);
Tailwind
colors: {
  custom: {
    50: '#b26f9a',
    500: '#8e2f72',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f72;
$custom-light: #b26f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f72",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 317.684,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46776,
    "c": 0.14919,
    "h": 341.4
  },
  "luminance": 0.08999
}

Semantic roles & 50–950 ramp

primary
#8E2F72
secondary
#64B57C
accent
#DA774E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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