#8F1B79#8F1B79

#8F1B79 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.5% C 0.178 H 337.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8F1B79
RGBrgb(143, 27, 121)
HSLhsl(311, 68%, 33%)
HSVhsv(311, 81%, 56%)
CMYKcmyk(0%, 81.1%, 15.4%, 43.9%)
CIE-LABlab(33.99, 55.73, -25.23)
CIE-LCHlch(33.99, 61.18, 335.64°)
OKLaboklab(45.47% 0.1647 -0.0687)
OKLCHoklch(45.47% 0.178 337.4)
XYZxyz(15.1711, 8.0055, 18.8317)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B79 #1B8F31
analogous
#6B1B8F #8F1B79 #8F1B3F
triadic
#8F1B79 #798F1B #1B798F
tetradic
#8F1B79 #8F6B1B #1B8F31 #1B3F8F
square
#8F1B79 #8F6B1B #1B8F31 #1B3F8F
split-complementary
#8F1B79 #3F8F1B #1B8F6B
monochromatic
#280822 #5C114D #8F1B79 #C225A5 #DC48C0

Accessibility & contrast

On white

8.07
#8F1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8F1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B79
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B79#FFFFFF#000000##FFFFFF
##8F1B791.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#495676
Tritanopia (blue-blind)
#972349
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1b79;
/* rgb */ color: rgb(143, 27, 121);
/* oklch */ color: oklch(45.5% 0.178 337.4);
Tailwind
colors: {
  custom: {
    50: '#b466a0',
    500: '#8f1b79',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b79;
$custom-light: #b466a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b79",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 311.379,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45474,
    "c": 0.17846,
    "h": 337.4
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#8F1B79
secondary
#48BE5E
accent
#EB5E3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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