#8E2F70#8E2F70

#8E2F70 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.148 H 342.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8E2F70
RGBrgb(142, 47, 112)
HSLhsl(319, 50%, 37%)
HSVhsv(319, 67%, 56%)
CMYKcmyk(0%, 66.9%, 21.1%, 44.3%)
CIE-LABlab(35.90, 47.09, -16.63)
CIE-LCHlch(35.90, 49.94, 340.55°)
OKLaboklab(46.68% 0.141 -0.0445)
OKLCHoklch(46.68% 0.148 342.5)
XYZxyz(15.0969, 8.9551, 16.2595)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F70 #2F8E4D
analogous
#7D2F8E #8E2F70 #8E2F41
triadic
#8E2F70 #708E2F #2F708E
tetradic
#8E2F70 #8E7D2F #2F8E4D #2F418E
square
#8E2F70 #8E7D2F #2F8E4D #2F418E
split-complementary
#8E2F70 #418E2F #2F8E7D
monochromatic
#321127 #60204C #8E2F70 #BC3E94 #CE6AAE

Accessibility & contrast

On white

7.52
#8E2F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8E2F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F70
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F70#FFFFFF#000000##FFFFFF
##8E2F701.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A72
Deuteranopia (green-blind)
#535A6E
Tritanopia (blue-blind)
#97304B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2f70;
/* rgb */ color: rgb(142, 47, 112);
/* oklch */ color: oklch(46.7% 0.148 342.5);
Tailwind
colors: {
  custom: {
    50: '#b26f99',
    500: '#8e2f70',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f70;
$custom-light: #b26f99;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f70",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 318.947,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46684,
    "c": 0.14781,
    "h": 342.5
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#8E2F70
secondary
#64B57E
accent
#DA7A4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2F70

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

Preview Lab → · Contrast checker → · Palette generator →

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