#8B2173#8B2173

#8B2173 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.166 H 338.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8B2173
RGBrgb(139, 33, 115)
HSLhsl(314, 62%, 34%)
HSVhsv(314, 76%, 55%)
CMYKcmyk(0%, 76.3%, 17.3%, 45.5%)
CIE-LABlab(33.60, 52.07, -22.13)
CIE-LCHlch(33.60, 56.57, 336.98°)
OKLaboklab(44.95% 0.1546 -0.0599)
OKLCHoklch(44.95% 0.166 338.8)
XYZxyz(14.2862, 7.8159, 16.9726)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2173 #218B39
analogous
#6E218B #8B2173 #8B213E
triadic
#8B2173 #738B21 #21738B
tetradic
#8B2173 #8B6E21 #218B39 #213E8B
square
#8B2173 #8B6E21 #218B39 #213E8B
split-complementary
#8B2173 #3E8B21 #218B6E
monochromatic
#280A21 #5A154A #8B2173 #BC2D9C #D651B8

Accessibility & contrast

On white

8.19
#8B2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B2173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2173
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2173#FFFFFF#000000##FFFFFF
##8B21731.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274475
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#932647
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b2173;
/* rgb */ color: rgb(139, 33, 115);
/* oklch */ color: oklch(45.0% 0.166 338.8);
Tailwind
colors: {
  custom: {
    50: '#b0689b',
    500: '#8b2173',
    950: '#000000',
  },
}
SCSS
$custom: #8b2173;
$custom-light: #b0689b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2173",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 313.585,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.1658,
    "h": 338.8
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#8B2173
secondary
#4FB967
accent
#E56843
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2173

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

Preview Lab → · Contrast checker → · Palette generator →

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