#8E2E6B#8E2E6B

#8E2E6B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.3% C 0.146 H 345.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8E2E6B
RGBrgb(142, 46, 107)
HSLhsl(322, 51%, 37%)
HSVhsv(322, 68%, 56%)
CMYKcmyk(0%, 67.6%, 24.6%, 44.3%)
CIE-LABlab(35.53, 46.79, -14.03)
CIE-LCHlch(35.53, 48.85, 343.31°)
OKLaboklab(46.35% 0.1411 -0.0372)
OKLCHoklch(46.35% 0.146 345.2)
XYZxyz(14.7867, 8.7678, 14.8207)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E6B #2E8E51
analogous
#812E8E #8E2E6B #8E2E3B
triadic
#8E2E6B #6B8E2E #2E6B8E
tetradic
#8E2E6B #8E812E #2E8E51 #2E3B8E
square
#8E2E6B #8E812E #2E8E51 #2E3B8E
split-complementary
#8E2E6B #3B8E2E #2E8E81
monochromatic
#321025 #601F48 #8E2E6B #BC3D8E #CE68A9

Accessibility & contrast

On white

7.63
#8E2E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2E6B
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E6B#FFFFFF#000000##FFFFFF
##8E2E6B1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496D
Deuteranopia (green-blind)
#545A69
Tritanopia (blue-blind)
#972D48
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2e6b;
/* rgb */ color: rgb(142, 46, 107);
/* oklch */ color: oklch(46.3% 0.146 345.2);
Tailwind
colors: {
  custom: {
    50: '#b26e95',
    500: '#8e2e6b',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e6b;
$custom-light: #b26e95;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e6b",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 321.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46347,
    "c": 0.14595,
    "h": 345.2
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#8E2E6B
secondary
#63B581
accent
#DB814D
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E2E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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