#8E1958#8E1958

#8E1958 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.160 H 353.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8E1958
RGBrgb(142, 25, 88)
HSLhsl(328, 70%, 33%)
HSVhsv(328, 82%, 56%)
CMYKcmyk(0%, 82.4%, 38%, 44.3%)
CIE-LABlab(32.15, 51.81, -6.95)
CIE-LCHlch(32.15, 52.27, 352.36°)
OKLaboklab(43.63% 0.1593 -0.0177)
OKLCHoklch(43.63% 0.16 353.6)
XYZxyz(13.2653, 7.1523, 9.9126)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1958 #198E4F
analogous
#89198E #8E1958 #8E191E
triadic
#8E1958 #588E19 #19588E
tetradic
#8E1958 #8E8919 #198E4F #191E8E
square
#8E1958 #8E8919 #198E4F #191E8E
split-complementary
#8E1958 #1E8E19 #198E89
monochromatic
#260718 #5A1038 #8E1958 #C22278 #DE4397

Accessibility & contrast

On white

8.64
#8E1958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8E1958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1958
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1958#FFFFFF#000000##FFFFFF
##8E19581.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E5A
Deuteranopia (green-blind)
#535355
Tritanopia (blue-blind)
#9A0737
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1958;
/* rgb */ color: rgb(142, 25, 88);
/* oklch */ color: oklch(43.6% 0.160 353.6);
Tailwind
colors: {
  custom: {
    50: '#b46487',
    500: '#8e1958',
    950: '#000000',
  },
}
SCSS
$custom: #8e1958;
$custom-light: #b46487;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1958",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 327.692,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4363,
    "c": 0.1603,
    "h": 353.6
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#8E1958
secondary
#44BF7D
accent
#ED8D3B
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1958

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

Preview Lab → · Contrast checker → · Palette generator →

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