#8D1858#8D1858

#8D1858 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.160 H 353.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8D1858
RGBrgb(141, 24, 88)
HSLhsl(327, 71%, 32%)
HSVhsv(327, 83%, 55%)
CMYKcmyk(0%, 83%, 37.6%, 44.7%)
CIE-LABlab(31.86, 51.82, -7.41)
CIE-LCHlch(31.86, 52.35, 351.86°)
OKLaboklab(43.38% 0.1593 -0.019)
OKLCHoklch(43.38% 0.16 353.2)
XYZxyz(13.0735, 7.0222, 9.8976)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1858 #188D4D
analogous
#87188D #8D1858 #8D181E
triadic
#8D1858 #588D18 #18588D
tetradic
#8D1858 #8D8718 #188D4D #181E8D
square
#8D1858 #8D8718 #188D4D #181E8D
split-complementary
#8D1858 #1E8D18 #188D87
monochromatic
#240617 #590F37 #8D1858 #C12179 #DF4197

Accessibility & contrast

On white

8.73
#8D1858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8D1858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1858
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1858#FFFFFF#000000##FFFFFF
##8D18581.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D5A
Deuteranopia (green-blind)
#525255
Tritanopia (blue-blind)
#990736
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1858;
/* rgb */ color: rgb(141, 24, 88);
/* oklch */ color: oklch(43.4% 0.160 353.2);
Tailwind
colors: {
  custom: {
    50: '#b36487',
    500: '#8d1858',
    950: '#000000',
  },
}
SCSS
$custom: #8d1858;
$custom-light: #b36487;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1858",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 327.179,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43381,
    "c": 0.16045,
    "h": 353.2
  },
  "luminance": 0.07021
}

Semantic roles & 50–950 ramp

primary
#8D1858
secondary
#42BF7A
accent
#EE8B3A
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D1858

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

Preview Lab → · Contrast checker → · Palette generator →

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