#8F1972#8F1972

#8F1972 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.176 H 340.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8F1972
RGBrgb(143, 25, 114)
HSLhsl(315, 70%, 33%)
HSVhsv(315, 83%, 56%)
CMYKcmyk(0%, 82.5%, 20.3%, 43.9%)
CIE-LABlab(33.46, 55.28, -21.65)
CIE-LCHlch(33.46, 59.37, 338.61°)
OKLaboklab(44.98% 0.1656 -0.0585)
OKLCHoklch(44.98% 0.176 340.6)
XYZxyz(14.7131, 7.7513, 16.6376)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1972 #198F36
analogous
#71198F #8F1972 #8F1937
triadic
#8F1972 #728F19 #19728F
tetradic
#8F1972 #8F7119 #198F36 #19378F
square
#8F1972 #8F7119 #198F36 #19378F
split-complementary
#8F1972 #378F19 #198F71
monochromatic
#27071F #5B1048 #8F1972 #C3229C #DE44B8

Accessibility & contrast

On white

8.24
#8F1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8F1972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1972
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1972#FFFFFF#000000##FFFFFF
##8F19721.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#981D45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1972;
/* rgb */ color: rgb(143, 25, 114);
/* oklch */ color: oklch(45.0% 0.176 340.6);
Tailwind
colors: {
  custom: {
    50: '#b4669a',
    500: '#8f1972',
    950: '#000000',
  },
}
SCSS
$custom: #8f1972;
$custom-light: #b4669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1972",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 314.746,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44977,
    "c": 0.17561,
    "h": 340.6
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#8F1972
secondary
#44BF63
accent
#ED673B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1972

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

Preview Lab → · Contrast checker → · Palette generator →

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