#8F2B77#8F2B77

#8F2B77 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.159 H 338.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8F2B77
RGBrgb(143, 43, 119)
HSLhsl(314, 54%, 36%)
HSVhsv(314, 70%, 56%)
CMYKcmyk(0%, 69.9%, 16.8%, 43.9%)
CIE-LABlab(35.79, 50.06, -21.17)
CIE-LCHlch(35.79, 54.35, 337.07°)
OKLaboklab(46.74% 0.1483 -0.0572)
OKLCHoklch(46.74% 0.159 338.9)
XYZxyz(15.5217, 8.9007, 18.3497)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B77 #2B8F43
analogous
#752B8F #8F2B77 #8F2B45
triadic
#8F2B77 #778F2B #2B778F
tetradic
#8F2B77 #8F752B #2B8F43 #2B458F
square
#8F2B77 #8F752B #2B8F43 #2B458F
split-complementary
#8F2B77 #458F2B #2B8F75
monochromatic
#310F29 #601D50 #8F2B77 #BE399E #D064B6

Accessibility & contrast

On white

7.55
#8F2B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8F2B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B77
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B77#FFFFFF#000000##FFFFFF
##8F2B771.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A79
Deuteranopia (green-blind)
#505A75
Tritanopia (blue-blind)
#972F4D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2b77;
/* rgb */ color: rgb(143, 43, 119);
/* oklch */ color: oklch(46.7% 0.159 338.9);
Tailwind
colors: {
  custom: {
    50: '#b36d9e',
    500: '#8f2b77',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b77;
$custom-light: #b36d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b77",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 314.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46742,
    "c": 0.15897,
    "h": 338.9
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#8F2B77
secondary
#5FB774
accent
#DD6E4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2B77

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

Preview Lab → · Contrast checker → · Palette generator →

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