#8F1770#8F1770

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

Color values

HEX#8F1770
RGBrgb(143, 23, 112)
HSLhsl(316, 72%, 33%)
HSVhsv(316, 84%, 56%)
CMYKcmyk(0%, 83.9%, 21.7%, 43.9%)
CIE-LABlab(33.19, 55.52, -20.80)
CIE-LCHlch(33.19, 59.29, 339.46°)
OKLaboklab(44.75% 0.1669 -0.056)
OKLCHoklch(44.75% 0.176 341.4)
XYZxyz(14.5592, 7.6238, 16.0309)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1770 #178F36
analogous
#72178F #8F1770 #8F1734
triadic
#8F1770 #708F17 #17708F
tetradic
#8F1770 #8F7217 #178F36 #17348F
square
#8F1770 #8F7217 #178F36 #17348F
split-complementary
#8F1770 #348F17 #178F72
monochromatic
#26061D #5A0F47 #8F1770 #C41F99 #E040B7

Accessibility & contrast

On white

8.32
#8F1770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1770
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1770#FFFFFF#000000##FFFFFF
##8F17701.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244272
Deuteranopia (green-blind)
#4C556D
Tritanopia (blue-blind)
#981A43
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1770;
/* rgb */ color: rgb(143, 23, 112);
/* oklch */ color: oklch(44.7% 0.176 341.4);
Tailwind
colors: {
  custom: {
    50: '#b46599',
    500: '#8f1770',
    950: '#000000',
  },
}
SCSS
$custom: #8f1770;
$custom-light: #b46599;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1770",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 112
  },
  "hsl": {
    "h": 315.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44749,
    "c": 0.17605,
    "h": 341.4
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

primary
#8F1770
secondary
#41C162
accent
#EF6839
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1770

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

Preview Lab → · Contrast checker → · Palette generator →

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