#8F2179#8F2179

#8F2179 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.172 H 337.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8F2179
RGBrgb(143, 33, 121)
HSLhsl(312, 63%, 35%)
HSVhsv(312, 77%, 56%)
CMYKcmyk(0%, 76.9%, 15.4%, 43.9%)
CIE-LABlab(34.62, 53.94, -24.26)
CIE-LCHlch(34.62, 59.15, 335.79°)
OKLaboklab(45.92% 0.1593 -0.0659)
OKLCHoklch(45.92% 0.172 337.5)
XYZxyz(15.3231, 8.3093, 18.8823)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2179 #218F37
analogous
#6E218F #8F2179 #8F2142
triadic
#8F2179 #798F21 #21798F
tetradic
#8F2179 #8F6E21 #218F37 #21428F
square
#8F2179 #8F6E21 #218F37 #21428F
split-complementary
#8F2179 #428F21 #218F6E
monochromatic
#2C0A25 #5D164F #8F2179 #C12CA3 #D753BD

Accessibility & contrast

On white

7.89
#8F2179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F2179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2179
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2179#FFFFFF#000000##FFFFFF
##8F21791.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#4B5776
Tritanopia (blue-blind)
#97284B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2179;
/* rgb */ color: rgb(143, 33, 121);
/* oklch */ color: oklch(45.9% 0.172 337.5);
Tailwind
colors: {
  custom: {
    50: '#b369a0',
    500: '#8f2179',
    950: '#000000',
  },
}
SCSS
$custom: #8f2179;
$custom-light: #b369a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2179",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 312,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45924,
    "c": 0.17245,
    "h": 337.5
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#8F2179
secondary
#51BB66
accent
#E66342
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2179

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

Preview Lab → · Contrast checker → · Palette generator →

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