#8B2873#8B2873

#8B2873 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.157 H 339.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8B2873
RGBrgb(139, 40, 115)
HSLhsl(315, 55%, 35%)
HSVhsv(315, 71%, 55%)
CMYKcmyk(0%, 71.2%, 17.3%, 45.5%)
CIE-LABlab(34.49, 49.55, -20.74)
CIE-LCHlch(34.49, 53.71, 337.29°)
OKLaboklab(45.6% 0.147 -0.056)
OKLCHoklch(45.6% 0.157 339.1)
XYZxyz(14.5011, 8.2457, 17.0442)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2873 #288B40
analogous
#71288B #8B2873 #8B2842
triadic
#8B2873 #738B28 #28738B
tetradic
#8B2873 #8B7128 #288B40 #28428B
square
#8B2873 #8B7128 #288B40 #28428B
split-complementary
#8B2873 #428B28 #288B71
monochromatic
#2C0D24 #5B1A4C #8B2873 #BB369A #D05DB4

Accessibility & contrast

On white

7.93
#8B2873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2873
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2873#FFFFFF#000000##FFFFFF
##8B28731.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4775
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#932C4A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2873;
/* rgb */ color: rgb(139, 40, 115);
/* oklch */ color: oklch(45.6% 0.157 339.1);
Tailwind
colors: {
  custom: {
    50: '#b06b9b',
    500: '#8b2873',
    950: '#000000',
  },
}
SCSS
$custom: #8b2873;
$custom-light: #b06b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2873",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 314.545,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.456,
    "c": 0.15731,
    "h": 339.1
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#8B2873
secondary
#59B670
accent
#DF6D49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2873

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

Preview Lab → · Contrast checker → · Palette generator →

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