#8E1952#8E1952

#8E1952 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.158 H 357.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8E1952
RGBrgb(142, 25, 82)
HSLhsl(331, 70%, 33%)
HSVhsv(331, 82%, 56%)
CMYKcmyk(0%, 82.4%, 42.3%, 44.3%)
CIE-LABlab(31.94, 51.17, -3.35)
CIE-LCHlch(31.94, 51.28, 356.25°)
OKLaboklab(43.4% 0.1575 -0.0082)
OKLCHoklch(43.4% 0.158 357)
XYZxyz(13.0269, 7.0570, 8.6572)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1952 #198E55
analogous
#8E198D #8E1952 #8E1A19
triadic
#8E1952 #528E19 #19528E
tetradic
#8E1952 #8D8E19 #198E55 #1A198E
square
#8E1952 #8D8E19 #198E55 #1A198E
split-complementary
#8E1952 #198E1A #198D8E
monochromatic
#260716 #5A1034 #8E1952 #C22270 #DE438F

Accessibility & contrast

On white

8.71
#8E1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1952
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1952#FFFFFF#000000##FFFFFF
##8E19521.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D53
Deuteranopia (green-blind)
#54534F
Tritanopia (blue-blind)
#9A0133
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1952;
/* rgb */ color: rgb(142, 25, 82);
/* oklch */ color: oklch(43.4% 0.158 357.0);
Tailwind
colors: {
  custom: {
    50: '#b46482',
    500: '#8e1952',
    950: '#000000',
  },
}
SCSS
$custom: #8e1952;
$custom-light: #b46482;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1952",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 330.769,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43403,
    "c": 0.1577,
    "h": 357
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#8E1952
secondary
#44BF83
accent
#ED963B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1952

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

Preview Lab → · Contrast checker → · Palette generator →

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