#8B2F71#8B2F71

#8B2F71 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.146 H 340.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8B2F71
RGBrgb(139, 47, 113)
HSLhsl(317, 49%, 36%)
HSVhsv(317, 66%, 55%)
CMYKcmyk(0%, 66.2%, 18.7%, 45.5%)
CIE-LABlab(35.43, 46.37, -18.02)
CIE-LCHlch(35.43, 49.75, 338.76°)
OKLaboklab(46.26% 0.138 -0.0484)
OKLCHoklch(46.26% 0.146 340.7)
XYZxyz(14.6450, 8.7156, 16.5306)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F71 #2F8B49
analogous
#772F8B #8B2F71 #8B2F43
triadic
#8B2F71 #718B2F #2F718B
tetradic
#8B2F71 #8B772F #2F8B49 #2F438B
square
#8B2F71 #8B772F #2F8B49 #2F438B
split-complementary
#8B2F71 #438B2F #2F8B77
monochromatic
#301027 #5D204C #8B2F71 #B93E96 #CC68B0

Accessibility & contrast

On white

7.66
#8B2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8B2F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F71
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F71#FFFFFF#000000##FFFFFF
##8B2F711.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#93314B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2f71;
/* rgb */ color: rgb(139, 47, 113);
/* oklch */ color: oklch(46.3% 0.146 340.7);
Tailwind
colors: {
  custom: {
    50: '#b06e9a',
    500: '#8b2f71',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f71;
$custom-light: #b06e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f71",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 316.957,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46257,
    "c": 0.14623,
    "h": 340.7
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#8B2F71
secondary
#63B379
accent
#D9764F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8B2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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