#8F2176#8F2176

#8F2176 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.170 H 338.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8F2176
RGBrgb(143, 33, 118)
HSLhsl(314, 63%, 35%)
HSVhsv(314, 77%, 56%)
CMYKcmyk(0%, 76.9%, 17.5%, 43.9%)
CIE-LABlab(34.47, 53.50, -22.60)
CIE-LCHlch(34.47, 58.08, 337.10°)
OKLaboklab(45.77% 0.159 -0.0612)
OKLCHoklch(45.77% 0.17 338.9)
XYZxyz(15.1419, 8.2368, 17.9284)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2176 #218F3A
analogous
#71218F #8F2176 #8F213F
triadic
#8F2176 #768F21 #21768F
tetradic
#8F2176 #8F7121 #218F3A #213F8F
square
#8F2176 #8F7121 #218F3A #213F8F
split-complementary
#8F2176 #3F8F21 #218F71
monochromatic
#2C0A24 #5D164D #8F2176 #C12C9F #D753B9

Accessibility & contrast

On white

7.93
#8F2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2176
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2176#FFFFFF#000000##FFFFFF
##8F21761.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274678
Deuteranopia (green-blind)
#4C5773
Tritanopia (blue-blind)
#972649
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2176;
/* rgb */ color: rgb(143, 33, 118);
/* oklch */ color: oklch(45.8% 0.170 338.9);
Tailwind
colors: {
  custom: {
    50: '#b3699d',
    500: '#8f2176',
    950: '#000000',
  },
}
SCSS
$custom: #8f2176;
$custom-light: #b3699d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2176",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 313.636,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45769,
    "c": 0.17036,
    "h": 338.9
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#8F2176
secondary
#51BB69
accent
#E66742
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2176

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

Preview Lab → · Contrast checker → · Palette generator →

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