#8B2F77#8B2F77

#8B2F77 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.151 H 337.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8B2F77
RGBrgb(139, 47, 119)
HSLhsl(313, 49%, 36%)
HSVhsv(313, 66%, 55%)
CMYKcmyk(0%, 66.2%, 14.4%, 45.5%)
CIE-LABlab(35.70, 47.30, -21.37)
CIE-LCHlch(35.70, 51.90, 335.69°)
OKLaboklab(46.55% 0.1391 -0.0579)
OKLCHoklch(46.55% 0.151 337.4)
XYZxyz(14.9940, 8.8552, 18.3687)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F77 #2F8B43
analogous
#712F8B #8B2F77 #8B2F49
triadic
#8B2F77 #778B2F #2F778B
tetradic
#8B2F77 #8B712F #2F8B43 #2F498B
square
#8B2F77 #8B712F #2F8B43 #2F498B
split-complementary
#8B2F77 #498B2F #2F8B71
monochromatic
#301029 #5D2050 #8B2F77 #B93E9E #CC68B6

Accessibility & contrast

On white

7.58
#8B2F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8B2F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F77
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F77#FFFFFF#000000##FFFFFF
##8B2F771.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B79
Deuteranopia (green-blind)
#4F5975
Tritanopia (blue-blind)
#92334E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2f77;
/* rgb */ color: rgb(139, 47, 119);
/* oklch */ color: oklch(46.5% 0.151 337.4);
Tailwind
colors: {
  custom: {
    50: '#b06e9e',
    500: '#8b2f77',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f77;
$custom-light: #b06e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f77",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 313.043,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46546,
    "c": 0.15065,
    "h": 337.4
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#8B2F77
secondary
#63B374
accent
#D96D4F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8B2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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