#8F1870#8F1870

#8F1870 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.175 H 341.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8F1870
RGBrgb(143, 24, 112)
HSLhsl(316, 71%, 33%)
HSVhsv(316, 83%, 56%)
CMYKcmyk(0%, 83.2%, 21.7%, 43.9%)
CIE-LABlab(33.27, 55.27, -20.67)
CIE-LCHlch(33.27, 59.00, 339.50°)
OKLaboklab(44.81% 0.1661 -0.0557)
OKLCHoklch(44.81% 0.175 341.5)
XYZxyz(14.5795, 7.6643, 16.0376)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1870 #188F37
analogous
#72188F #8F1870 #8F1835
triadic
#8F1870 #708F18 #18708F
tetradic
#8F1870 #8F7218 #188F37 #18358F
square
#8F1870 #8F7218 #188F37 #18358F
split-complementary
#8F1870 #358F18 #188F72
monochromatic
#26061E #5B0F47 #8F1870 #C32199 #DF42B6

Accessibility & contrast

On white

8.29
#8F1870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8F1870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1870
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1870#FFFFFF#000000##FFFFFF
##8F18701.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1870;
/* rgb */ color: rgb(143, 24, 112);
/* oklch */ color: oklch(44.8% 0.175 341.5);
Tailwind
colors: {
  custom: {
    50: '#b46599',
    500: '#8f1870',
    950: '#000000',
  },
}
SCSS
$custom: #8f1870;
$custom-light: #b46599;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1870",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 315.63,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44812,
    "c": 0.1752,
    "h": 341.5
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#8F1870
secondary
#43C063
accent
#EE693A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1870

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

Preview Lab → · Contrast checker → · Palette generator →

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