#8B2371#8B2371

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

Color values

HEX#8B2371
RGBrgb(139, 35, 113)
HSLhsl(315, 60%, 34%)
HSVhsv(315, 75%, 55%)
CMYKcmyk(0%, 74.8%, 18.7%, 45.5%)
CIE-LABlab(33.74, 51.09, -20.63)
CIE-LCHlch(33.74, 55.10, 338.01°)
OKLaboklab(45.03% 0.1522 -0.0557)
OKLCHoklch(45.03% 0.162 339.9)
XYZxyz(14.2295, 7.8847, 16.3921)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2371 #238B3D
analogous
#71238B #8B2371 #8B233D
triadic
#8B2371 #718B23 #23718B
tetradic
#8B2371 #8B7123 #238B3D #233D8B
square
#8B2371 #8B7123 #238B3D #233D8B
split-complementary
#8B2371 #3D8B23 #238B71
monochromatic
#290A22 #5A1749 #8B2371 #BC2F99 #D454B4

Accessibility & contrast

On white

8.15
#8B2371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B2371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2371
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2371#FFFFFF#000000##FFFFFF
##8B23711.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#4C556F
Tritanopia (blue-blind)
#932647
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b2371;
/* rgb */ color: rgb(139, 35, 113);
/* oklch */ color: oklch(45.0% 0.162 339.9);
Tailwind
colors: {
  custom: {
    50: '#b0699a',
    500: '#8b2371',
    950: '#000000',
  },
}
SCSS
$custom: #8b2371;
$custom-light: #b0699a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2371",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 315,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45027,
    "c": 0.16212,
    "h": 339.9
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#8B2371
secondary
#52B86B
accent
#E36C45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2371

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

Preview Lab → · Contrast checker → · Palette generator →

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