#8E2B70#8E2B70

#8E2B70 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.153 H 342.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8E2B70
RGBrgb(142, 43, 112)
HSLhsl(318, 54%, 36%)
HSVhsv(318, 70%, 56%)
CMYKcmyk(0%, 69.7%, 21.1%, 44.3%)
CIE-LABlab(35.30, 48.74, -17.55)
CIE-LCHlch(35.30, 51.80, 340.20°)
OKLaboklab(46.25% 0.146 -0.047)
OKLCHoklch(46.25% 0.153 342.1)
XYZxyz(14.9443, 8.6498, 16.2086)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B70 #2B8E49
analogous
#7B2B8E #8E2B70 #8E2B3F
triadic
#8E2B70 #708E2B #2B708E
tetradic
#8E2B70 #8E7B2B #2B8E49 #2B3F8E
square
#8E2B70 #8E7B2B #2B8E49 #2B3F8E
split-complementary
#8E2B70 #3F8E2B #2B8E7B
monochromatic
#300F26 #5F1D4B #8E2B70 #BD3995 #D063AF

Accessibility & contrast

On white

7.69
#8E2B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8E2B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B70
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B70#FFFFFF#000000##FFFFFF
##8E2B701.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334972
Deuteranopia (green-blind)
#51596E
Tritanopia (blue-blind)
#972C49
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2b70;
/* rgb */ color: rgb(142, 43, 112);
/* oklch */ color: oklch(46.2% 0.153 342.1);
Tailwind
colors: {
  custom: {
    50: '#b26d99',
    500: '#8e2b70',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b70;
$custom-light: #b26d99;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b70",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 318.182,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46247,
    "c": 0.15338,
    "h": 342.1
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#8E2B70
secondary
#5FB679
accent
#DD774B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2B70

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

Preview Lab → · Contrast checker → · Palette generator →

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