#8F2977#8F2977

#8F2977 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.162 H 338.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8F2977
RGBrgb(143, 41, 119)
HSLhsl(314, 55%, 36%)
HSVhsv(314, 71%, 56%)
CMYKcmyk(0%, 71.3%, 16.8%, 43.9%)
CIE-LABlab(35.52, 50.83, -21.60)
CIE-LCHlch(35.52, 55.23, 336.97°)
OKLaboklab(46.54% 0.1506 -0.0584)
OKLCHoklch(46.54% 0.162 338.8)
XYZxyz(15.4507, 8.7589, 18.3261)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2977 #298F41
analogous
#74298F #8F2977 #8F2944
triadic
#8F2977 #778F29 #29778F
tetradic
#8F2977 #8F7429 #298F41 #29448F
square
#8F2977 #8F7429 #298F41 #29448F
split-complementary
#8F2977 #448F29 #298F74
monochromatic
#300E28 #5F1B4F #8F2977 #BF379F #D261B7

Accessibility & contrast

On white

7.63
#8F2977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8F2977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2977
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2977#FFFFFF#000000##FFFFFF
##8F29771.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4979
Deuteranopia (green-blind)
#4F5975
Tritanopia (blue-blind)
#972D4C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2977;
/* rgb */ color: rgb(143, 41, 119);
/* oklch */ color: oklch(46.5% 0.162 338.8);
Tailwind
colors: {
  custom: {
    50: '#b36c9e',
    500: '#8f2977',
    950: '#000000',
  },
}
SCSS
$custom: #8f2977;
$custom-light: #b36c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2977",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 314.118,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46541,
    "c": 0.16157,
    "h": 338.8
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#8F2977
secondary
#5CB772
accent
#DF6C49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2977

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

Preview Lab → · Contrast checker → · Palette generator →

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