#8E2F6B#8E2F6B

#8E2F6B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.145 H 345.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8E2F6B
RGBrgb(142, 47, 107)
HSLhsl(322, 50%, 37%)
HSVhsv(322, 67%, 56%)
CMYKcmyk(0%, 66.9%, 24.6%, 44.3%)
CIE-LABlab(35.69, 46.36, -13.79)
CIE-LCHlch(35.69, 48.37, 343.43°)
OKLaboklab(46.46% 0.1398 -0.0366)
OKLCHoklch(46.46% 0.145 345.3)
XYZxyz(14.8262, 8.8468, 14.8339)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F6B #2F8E52
analogous
#822F8E #8E2F6B #8E2F3C
triadic
#8E2F6B #6B8E2F #2F6B8E
tetradic
#8E2F6B #8E822F #2F8E52 #2F3C8E
square
#8E2F6B #8E822F #2F8E52 #2F3C8E
split-complementary
#8E2F6B #3C8E2F #2F8E82
monochromatic
#321126 #602048 #8E2F6B #BC3E8E #CE6AA9

Accessibility & contrast

On white

7.58
#8E2F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8E2F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F6B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F6B#FFFFFF#000000##FFFFFF
##8E2F6B1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6D
Deuteranopia (green-blind)
#555A69
Tritanopia (blue-blind)
#972E48
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2f6b;
/* rgb */ color: rgb(142, 47, 107);
/* oklch */ color: oklch(46.5% 0.145 345.3);
Tailwind
colors: {
  custom: {
    50: '#b26e95',
    500: '#8e2f6b',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f6b;
$custom-light: #b26e95;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f6b",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 322.105,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.14452,
    "h": 345.3
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#8E2F6B
secondary
#64B582
accent
#DA824E
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E2F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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