#8D1874#8D1874

#8D1874 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.177 H 338.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8D1874
RGBrgb(141, 24, 116)
HSLhsl(313, 71%, 32%)
HSVhsv(313, 83%, 55%)
CMYKcmyk(0%, 83%, 17.7%, 44.7%)
CIE-LABlab(33.09, 55.35, -23.52)
CIE-LCHlch(33.09, 60.14, 336.98°)
OKLaboklab(44.67% 0.1647 -0.0638)
OKLCHoklch(44.67% 0.177 338.8)
XYZxyz(14.4639, 7.5784, 17.2207)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1874 #188D31
analogous
#6C188D #8D1874 #8D1839
triadic
#8D1874 #748D18 #18748D
tetradic
#8D1874 #8D6C18 #188D31 #18398D
square
#8D1874 #8D6C18 #188D31 #18398D
split-complementary
#8D1874 #398D18 #188D6C
monochromatic
#24061E #590F49 #8D1874 #C1219F #DF41BD

Accessibility & contrast

On white

8.35
#8D1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8D1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1874
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1874#FFFFFF#000000##FFFFFF
##8D18741.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204276
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#951F46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1874;
/* rgb */ color: rgb(141, 24, 116);
/* oklch */ color: oklch(44.7% 0.177 338.8);
Tailwind
colors: {
  custom: {
    50: '#b2659c',
    500: '#8d1874',
    950: '#000000',
  },
}
SCSS
$custom: #8d1874;
$custom-light: #b2659c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1874",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 312.821,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44673,
    "c": 0.17664,
    "h": 338.8
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#8D1874
secondary
#42BF5C
accent
#EE603A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1874

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

Preview Lab → · Contrast checker → · Palette generator →

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