#8E1962#8E1962

#8E1962 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.165 H 348.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8E1962
RGBrgb(142, 25, 98)
HSLhsl(323, 70%, 33%)
HSVhsv(323, 82%, 56%)
CMYKcmyk(0%, 82.4%, 31%, 44.3%)
CIE-LABlab(32.55, 52.96, -12.84)
CIE-LCHlch(32.55, 54.50, 346.37°)
OKLaboklab(44.05% 0.1619 -0.0338)
OKLCHoklch(44.05% 0.165 348.2)
XYZxyz(13.7083, 7.3295, 12.2457)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1962 #198E45
analogous
#7F198E #8E1962 #8E1928
triadic
#8E1962 #628E19 #19628E
tetradic
#8E1962 #8E7F19 #198E45 #19288E
square
#8E1962 #8E7F19 #198E45 #19288E
split-complementary
#8E1962 #288E19 #198E7F
monochromatic
#26071A #5A103E #8E1962 #C22286 #DE43A4

Accessibility & contrast

On white

8.52
#8E1962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8E1962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1962
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1962#FFFFFF#000000##FFFFFF
##8E19621.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4064
Deuteranopia (green-blind)
#50545F
Tritanopia (blue-blind)
#99123C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1962;
/* rgb */ color: rgb(142, 25, 98);
/* oklch */ color: oklch(44.0% 0.165 348.2);
Tailwind
colors: {
  custom: {
    50: '#b3658e',
    500: '#8e1962',
    950: '#000000',
  },
}
SCSS
$custom: #8e1962;
$custom-light: #b3658e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1962",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 98
  },
  "hsl": {
    "h": 322.564,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44046,
    "c": 0.16536,
    "h": 348.2
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#8E1962
secondary
#44BF72
accent
#ED7E3B
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8E1962

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

Preview Lab → · Contrast checker → · Palette generator →

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