#8F2177#8F2177

#8F2177 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.171 H 338.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8F2177
RGBrgb(143, 33, 119)
HSLhsl(313, 63%, 35%)
HSVhsv(313, 77%, 56%)
CMYKcmyk(0%, 76.9%, 16.8%, 43.9%)
CIE-LABlab(34.52, 53.65, -23.15)
CIE-LCHlch(34.52, 58.43, 336.66°)
OKLaboklab(45.82% 0.1591 -0.0628)
OKLCHoklch(45.82% 0.171 338.5)
XYZxyz(15.2017, 8.2607, 18.2431)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2177 #218F39
analogous
#70218F #8F2177 #8F2140
triadic
#8F2177 #778F21 #21778F
tetradic
#8F2177 #8F7021 #218F39 #21408F
square
#8F2177 #8F7021 #218F39 #21408F
split-complementary
#8F2177 #408F21 #218F70
monochromatic
#2C0A24 #5D164E #8F2177 #C12CA0 #D753BA

Accessibility & contrast

On white

7.92
#8F2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2177
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2177#FFFFFF#000000##FFFFFF
##8F21771.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274679
Deuteranopia (green-blind)
#4C5774
Tritanopia (blue-blind)
#97274A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2177;
/* rgb */ color: rgb(143, 33, 119);
/* oklch */ color: oklch(45.8% 0.171 338.5);
Tailwind
colors: {
  custom: {
    50: '#b3699e',
    500: '#8f2177',
    950: '#000000',
  },
}
SCSS
$custom: #8f2177;
$custom-light: #b3699e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2177",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 313.091,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.17105,
    "h": 338.5
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#8F2177
secondary
#51BB68
accent
#E66642
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2177

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

Preview Lab → · Contrast checker → · Palette generator →

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