#8B2971#8B2971

#8B2971 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.155 H 340.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8B2971
RGBrgb(139, 41, 113)
HSLhsl(316, 54%, 35%)
HSVhsv(316, 71%, 55%)
CMYKcmyk(0%, 70.5%, 18.7%, 45.5%)
CIE-LABlab(34.54, 48.85, -19.40)
CIE-LCHlch(34.54, 52.57, 338.34°)
OKLaboklab(45.6% 0.1455 -0.0523)
OKLCHoklch(45.6% 0.155 340.2)
XYZxyz(14.4214, 8.2685, 16.4560)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2971 #298B43
analogous
#74298B #8B2971 #8B2940
triadic
#8B2971 #718B29 #29718B
tetradic
#8B2971 #8B7429 #298B43 #29408B
square
#8B2971 #8B7429 #298B43 #29408B
split-complementary
#8B2971 #408B29 #298B74
monochromatic
#2C0D24 #5C1B4B #8B2971 #BA3797 #D05FB2

Accessibility & contrast

On white

7.91
#8B2971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2971
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2971#FFFFFF#000000##FFFFFF
##8B29711.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#4E576F
Tritanopia (blue-blind)
#932C49
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2971;
/* rgb */ color: rgb(139, 41, 113);
/* oklch */ color: oklch(45.6% 0.155 340.2);
Tailwind
colors: {
  custom: {
    50: '#b06b9a',
    500: '#8b2971',
    950: '#000000',
  },
}
SCSS
$custom: #8b2971;
$custom-light: #b06b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2971",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 315.918,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.15459,
    "h": 340.2
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

primary
#8B2971
secondary
#5BB573
accent
#DE714A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2971

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

Preview Lab → · Contrast checker → · Palette generator →

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