#8B2170#8B2170

#8B2170 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.164 H 340.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8B2170
RGBrgb(139, 33, 112)
HSLhsl(315, 62%, 34%)
HSVhsv(315, 76%, 55%)
CMYKcmyk(0%, 76.3%, 19.4%, 45.5%)
CIE-LABlab(33.45, 51.63, -20.45)
CIE-LCHlch(33.45, 55.53, 338.39°)
OKLaboklab(44.8% 0.1542 -0.0552)
OKLCHoklch(44.8% 0.164 340.3)
XYZxyz(14.1164, 7.7479, 16.0782)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2170 #218B3C
analogous
#71218B #8B2170 #8B213B
triadic
#8B2170 #708B21 #21708B
tetradic
#8B2170 #8B7121 #218B3C #213B8B
square
#8B2170 #8B7121 #218B3C #213B8B
split-complementary
#8B2170 #3B8B21 #218B71
monochromatic
#280A20 #5A1548 #8B2170 #BC2D98 #D651B4

Accessibility & contrast

On white

8.24
#8B2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8B2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2170
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2170#FFFFFF#000000##FFFFFF
##8B21701.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294472
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#942446
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b2170;
/* rgb */ color: rgb(139, 33, 112);
/* oklch */ color: oklch(44.8% 0.164 340.3);
Tailwind
colors: {
  custom: {
    50: '#b06899',
    500: '#8b2170',
    950: '#000000',
  },
}
SCSS
$custom: #8b2170;
$custom-light: #b06899;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2170",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 315.283,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44802,
    "c": 0.16375,
    "h": 340.3
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#8B2170
secondary
#4FB96A
accent
#E56C43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2170

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

Preview Lab → · Contrast checker → · Palette generator →

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