#8D1972#8D1972

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

Color values

HEX#8D1972
RGBrgb(141, 25, 114)
HSLhsl(314, 70%, 33%)
HSVhsv(314, 82%, 55%)
CMYKcmyk(0%, 82.3%, 19.1%, 44.7%)
CIE-LABlab(33.08, 54.81, -22.27)
CIE-LCHlch(33.08, 59.16, 337.89°)
OKLaboklab(44.63% 0.1637 -0.0602)
OKLCHoklch(44.63% 0.174 339.8)
XYZxyz(14.3698, 7.5744, 16.6215)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1972 #198D34
analogous
#6E198D #8D1972 #8D1938
triadic
#8D1972 #728D19 #19728D
tetradic
#8D1972 #8D6E19 #198D34 #19388D
square
#8D1972 #8D6E19 #198D34 #19388D
split-complementary
#8D1972 #388D19 #198D6E
monochromatic
#25071E #591048 #8D1972 #C1229C #DE43BA

Accessibility & contrast

On white

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

On black

2.51
#8D1972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D1972#FFFFFF#000000##FFFFFF
##8D19721.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#4A546F
Tritanopia (blue-blind)
#961E45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1972;
/* rgb */ color: rgb(141, 25, 114);
/* oklch */ color: oklch(44.6% 0.174 339.8);
Tailwind
colors: {
  custom: {
    50: '#b2659b',
    500: '#8d1972',
    950: '#000000',
  },
}
SCSS
$custom: #8d1972;
$custom-light: #b2659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1972",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 313.966,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44634,
    "c": 0.17444,
    "h": 339.8
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#8D1972
secondary
#43BF60
accent
#ED643B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1972

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

Preview Lab → · Contrast checker → · Palette generator →

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