#8F1579#8F1579

#8F1579 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.184 H 337.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8F1579
RGBrgb(143, 21, 121)
HSLhsl(311, 74%, 32%)
HSVhsv(311, 85%, 56%)
CMYKcmyk(0%, 85.3%, 15.4%, 43.9%)
CIE-LABlab(33.47, 57.24, -26.05)
CIE-LCHlch(33.47, 62.89, 335.53°)
OKLaboklab(45.1% 0.1692 -0.071)
OKLCHoklch(45.1% 0.184 337.2)
XYZxyz(15.0474, 7.7579, 18.7904)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1579 #158F2B
analogous
#68158F #8F1579 #8F153C
triadic
#8F1579 #798F15 #15798F
tetradic
#8F1579 #8F6815 #158F2B #153C8F
square
#8F1579 #8F6815 #158F2B #153C8F
split-complementary
#8F1579 #3C8F15 #158F68
monochromatic
#24051F #5A0D4C #8F1579 #C41DA6 #E23CC4

Accessibility & contrast

On white

8.23
#8F1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1579
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1579#FFFFFF#000000##FFFFFF
##8F15791.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#971F48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1579;
/* rgb */ color: rgb(143, 21, 121);
/* oklch */ color: oklch(45.1% 0.184 337.2);
Tailwind
colors: {
  custom: {
    50: '#b465a0',
    500: '#8f1579',
    950: '#000000',
  },
}
SCSS
$custom: #8f1579;
$custom-light: #b465a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1579",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 310.82,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.18352,
    "h": 337.2
  },
  "luminance": 0.07756
}

Semantic roles & 50–950 ramp

primary
#8F1579
secondary
#3EC256
accent
#F15837
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1579

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

Preview Lab → · Contrast checker → · Palette generator →

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