#8B2471#8B2471

#8B2471 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.161 H 339.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8B2471
RGBrgb(139, 36, 113)
HSLhsl(315, 59%, 34%)
HSVhsv(315, 74%, 55%)
CMYKcmyk(0%, 74.1%, 18.7%, 45.5%)
CIE-LABlab(33.87, 50.74, -20.44)
CIE-LCHlch(33.87, 54.70, 338.06°)
OKLaboklab(45.12% 0.1512 -0.0552)
OKLCHoklch(45.12% 0.161 339.9)
XYZxyz(14.2594, 7.9444, 16.4020)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2471 #248B3E
analogous
#72248B #8B2471 #8B243D
triadic
#8B2471 #718B24 #24718B
tetradic
#8B2471 #8B7224 #248B3E #243D8B
square
#8B2471 #8B7224 #248B3E #243D8B
split-complementary
#8B2471 #3D8B24 #248B72
monochromatic
#2A0B22 #5A1749 #8B2471 #BC3199 #D356B4

Accessibility & contrast

On white

8.11
#8B2471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8B2471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2471
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2471#FFFFFF#000000##FFFFFF
##8B24711.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#4C566F
Tritanopia (blue-blind)
#932747
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b2471;
/* rgb */ color: rgb(139, 36, 113);
/* oklch */ color: oklch(45.1% 0.161 339.9);
Tailwind
colors: {
  custom: {
    50: '#b0699a',
    500: '#8b2471',
    950: '#000000',
  },
}
SCSS
$custom: #8b2471;
$custom-light: #b0699a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2471",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 315.146,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45117,
    "c": 0.16093,
    "h": 339.9
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#8B2471
secondary
#53B76D
accent
#E26D46
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2471

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

Preview Lab → · Contrast checker → · Palette generator →

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