#8D1862#8D1862

#8D1862 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.166 H 347.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8D1862
RGBrgb(141, 24, 98)
HSLhsl(322, 71%, 32%)
HSVhsv(322, 83%, 55%)
CMYKcmyk(0%, 83%, 30.5%, 44.7%)
CIE-LABlab(32.26, 52.98, -13.30)
CIE-LCHlch(32.26, 54.62, 345.91°)
OKLaboklab(43.8% 0.1618 -0.0351)
OKLCHoklch(43.8% 0.166 347.8)
XYZxyz(13.5165, 7.1994, 12.2307)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1862 #188D43
analogous
#7D188D #8D1862 #8D1828
triadic
#8D1862 #628D18 #18628D
tetradic
#8D1862 #8D7D18 #188D43 #18288D
square
#8D1862 #8D7D18 #188D43 #18288D
split-complementary
#8D1862 #288D18 #188D7D
monochromatic
#240619 #590F3E #8D1862 #C12186 #DF41A5

Accessibility & contrast

On white

8.61
#8D1862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8D1862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1862
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1862#FFFFFF#000000##FFFFFF
##8D18621.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F64
Deuteranopia (green-blind)
#4F535F
Tritanopia (blue-blind)
#98113C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1862;
/* rgb */ color: rgb(141, 24, 98);
/* oklch */ color: oklch(43.8% 0.166 347.8);
Tailwind
colors: {
  custom: {
    50: '#b3648e',
    500: '#8d1862',
    950: '#000000',
  },
}
SCSS
$custom: #8d1862;
$custom-light: #b3648e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1862",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 322.051,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43801,
    "c": 0.16558,
    "h": 347.8
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#8D1862
secondary
#42BF70
accent
#EE7C3A
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8D1862

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

Preview Lab → · Contrast checker → · Palette generator →

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