#8E2F6A#8E2F6A

#8E2F6A is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.4% C 0.144 H 345.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8E2F6A
RGBrgb(142, 47, 106)
HSLhsl(323, 50%, 37%)
HSVhsv(323, 67%, 56%)
CMYKcmyk(0%, 66.9%, 25.4%, 44.3%)
CIE-LABlab(35.65, 46.22, -13.22)
CIE-LCHlch(35.65, 48.08, 344.03°)
OKLaboklab(46.42% 0.1396 -0.035)
OKLCHoklch(46.42% 0.144 345.9)
XYZxyz(14.7739, 8.8259, 14.5584)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F6A #2F8E53
analogous
#832F8E #8E2F6A #8E2F3A
triadic
#8E2F6A #6A8E2F #2F6A8E
tetradic
#8E2F6A #8E832F #2F8E53 #2F3A8E
square
#8E2F6A #8E832F #2F8E53 #2F3A8E
split-complementary
#8E2F6A #3A8E2F #2F8E83
monochromatic
#321125 #602048 #8E2F6A #BC3E8C #CE6AA8

Accessibility & contrast

On white

7.60
#8E2F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8E2F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F6A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F6A#FFFFFF#000000##FFFFFF
##8E2F6A1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6C
Deuteranopia (green-blind)
#555A68
Tritanopia (blue-blind)
#972D48
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2f6a;
/* rgb */ color: rgb(142, 47, 106);
/* oklch */ color: oklch(46.4% 0.144 345.9);
Tailwind
colors: {
  custom: {
    50: '#b26e94',
    500: '#8e2f6a',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f6a;
$custom-light: #b26e94;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f6a",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 322.737,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46417,
    "c": 0.14388,
    "h": 345.9
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#8E2F6A
secondary
#64B583
accent
#DA834E
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E2F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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