#8D1875#8D1875

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

Color values

HEX#8D1875
RGBrgb(141, 24, 117)
HSLhsl(312, 71%, 32%)
HSVhsv(312, 83%, 55%)
CMYKcmyk(0%, 83%, 17%, 44.7%)
CIE-LABlab(33.14, 55.49, -24.08)
CIE-LCHlch(33.14, 60.49, 336.55°)
OKLaboklab(44.73% 0.1648 -0.0654)
OKLCHoklch(44.73% 0.177 338.4)
XYZxyz(14.5224, 7.6018, 17.5286)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1875 #188D30
analogous
#6B188D #8D1875 #8D183A
triadic
#8D1875 #758D18 #18758D
tetradic
#8D1875 #8D6B18 #188D30 #183A8D
square
#8D1875 #8D6B18 #188D30 #183A8D
split-complementary
#8D1875 #3A8D18 #188D6B
monochromatic
#24061E #590F4A #8D1875 #C121A0 #DF41BE

Accessibility & contrast

On white

8.33
#8D1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1875
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1875#FFFFFF#000000##FFFFFF
##8D18751.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4377
Deuteranopia (green-blind)
#485472
Tritanopia (blue-blind)
#951F46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1875;
/* rgb */ color: rgb(141, 24, 117);
/* oklch */ color: oklch(44.7% 0.177 338.4);
Tailwind
colors: {
  custom: {
    50: '#b2659d',
    500: '#8d1875',
    950: '#000000',
  },
}
SCSS
$custom: #8d1875;
$custom-light: #b2659d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1875",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 312.308,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44725,
    "c": 0.17731,
    "h": 338.4
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#8D1875
secondary
#42BF5B
accent
#EE5F3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1875

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

Preview Lab → · Contrast checker → · Palette generator →

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