#8E2E6A#8E2E6A

#8E2E6A is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.145 H 345.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8E2E6A
RGBrgb(142, 46, 106)
HSLhsl(323, 51%, 37%)
HSVhsv(323, 68%, 56%)
CMYKcmyk(0%, 67.6%, 25.4%, 44.3%)
CIE-LABlab(35.49, 46.65, -13.46)
CIE-LCHlch(35.49, 48.55, 343.91°)
OKLaboklab(46.3% 0.1409 -0.0357)
OKLCHoklch(46.3% 0.145 345.8)
XYZxyz(14.7344, 8.7469, 14.5452)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E6A #2E8E52
analogous
#822E8E #8E2E6A #8E2E3A
triadic
#8E2E6A #6A8E2E #2E6A8E
tetradic
#8E2E6A #8E822E #2E8E52 #2E3A8E
square
#8E2E6A #8E822E #2E8E52 #2E3A8E
split-complementary
#8E2E6A #3A8E2E #2E8E82
monochromatic
#321025 #601F47 #8E2E6A #BC3D8D #CE68A8

Accessibility & contrast

On white

7.64
#8E2E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8E2E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E6A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E6A#FFFFFF#000000##FFFFFF
##8E2E6A1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496C
Deuteranopia (green-blind)
#555968
Tritanopia (blue-blind)
#982C48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2e6a;
/* rgb */ color: rgb(142, 46, 106);
/* oklch */ color: oklch(46.3% 0.145 345.8);
Tailwind
colors: {
  custom: {
    50: '#b26e94',
    500: '#8e2e6a',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e6a;
$custom-light: #b26e94;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e6a",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 322.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46304,
    "c": 0.14532,
    "h": 345.8
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#8E2E6A
secondary
#63B582
accent
#DB824D
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E2E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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