#8F1572#8F1572

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

Color values

HEX#8F1572
RGBrgb(143, 21, 114)
HSLhsl(314, 74%, 32%)
HSVhsv(314, 85%, 56%)
CMYKcmyk(0%, 85.3%, 20.3%, 43.9%)
CIE-LABlab(33.12, 56.26, -22.18)
CIE-LCHlch(33.12, 60.48, 338.49°)
OKLaboklab(44.73% 0.1686 -0.0599)
OKLCHoklch(44.73% 0.179 340.4)
XYZxyz(14.6336, 7.5924, 16.6112)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1572 #158F32
analogous
#6F158F #8F1572 #8F1535
triadic
#8F1572 #728F15 #15728F
tetradic
#8F1572 #8F6F15 #158F32 #15358F
square
#8F1572 #8F6F15 #158F32 #15358F
split-complementary
#8F1572 #358F15 #158F6F
monochromatic
#24051D #5A0D47 #8F1572 #C41D9D #E23CBB

Accessibility & contrast

On white

8.34
#8F1572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1572
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1572#FFFFFF#000000##FFFFFF
##8F15721.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#4A556F
Tritanopia (blue-blind)
#981A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1572;
/* rgb */ color: rgb(143, 21, 114);
/* oklch */ color: oklch(44.7% 0.179 340.4);
Tailwind
colors: {
  custom: {
    50: '#b4649b',
    500: '#8f1572',
    950: '#000000',
  },
}
SCSS
$custom: #8f1572;
$custom-light: #b4649b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1572",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 314.262,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.17893,
    "h": 340.4
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#8F1572
secondary
#3EC25D
accent
#F16337
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1572

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

Preview Lab → · Contrast checker → · Palette generator →

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