#8F1A79#8F1A79

#8F1A79 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.179 H 337.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8F1A79
RGBrgb(143, 26, 121)
HSLhsl(311, 69%, 33%)
HSVhsv(311, 82%, 56%)
CMYKcmyk(0%, 81.8%, 15.4%, 43.9%)
CIE-LABlab(33.90, 56.00, -25.38)
CIE-LCHlch(33.90, 61.49, 335.62°)
OKLaboklab(45.41% 0.1655 -0.0691)
OKLCHoklch(45.41% 0.179 337.3)
XYZxyz(15.1486, 7.9604, 18.8242)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A79 #1A8F30
analogous
#6A1A8F #8F1A79 #8F1A3E
triadic
#8F1A79 #798F1A #1A798F
tetradic
#8F1A79 #8F6A1A #1A8F30 #1A3E8F
square
#8F1A79 #8F6A1A #1A8F30 #1A3E8F
split-complementary
#8F1A79 #3E8F1A #1A8F6A
monochromatic
#270721 #5B114D #8F1A79 #C323A5 #DD46C1

Accessibility & contrast

On white

8.10
#8F1A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F1A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A79
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A79#FFFFFF#000000##FFFFFF
##8F1A791.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447B
Deuteranopia (green-blind)
#495676
Tritanopia (blue-blind)
#972249
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1a79;
/* rgb */ color: rgb(143, 26, 121);
/* oklch */ color: oklch(45.4% 0.179 337.3);
Tailwind
colors: {
  custom: {
    50: '#b466a0',
    500: '#8f1a79',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a79;
$custom-light: #b466a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a79",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 311.282,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45407,
    "c": 0.17937,
    "h": 337.3
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#8F1A79
secondary
#46BF5D
accent
#EC5D3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1A79

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

Preview Lab → · Contrast checker → · Palette generator →

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