#8B2174#8B2174

#8B2174 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.167 H 338.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8B2174
RGBrgb(139, 33, 116)
HSLhsl(313, 62%, 34%)
HSVhsv(313, 76%, 55%)
CMYKcmyk(0%, 76.3%, 16.5%, 45.5%)
CIE-LABlab(33.65, 52.22, -22.68)
CIE-LCHlch(33.65, 56.93, 336.52°)
OKLaboklab(45% 0.1547 -0.0615)
OKLCHoklch(45% 0.167 338.3)
XYZxyz(14.3440, 7.8390, 17.2773)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2174 #218B38
analogous
#6D218B #8B2174 #8B213F
triadic
#8B2174 #748B21 #21748B
tetradic
#8B2174 #8B6D21 #218B38 #213F8B
square
#8B2174 #8B6D21 #218B38 #213F8B
split-complementary
#8B2174 #3F8B21 #218B6D
monochromatic
#280A21 #5A154B #8B2174 #BC2D9D #D651B9

Accessibility & contrast

On white

8.18
#8B2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8B2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2174
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2174#FFFFFF#000000##FFFFFF
##8B21741.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264576
Deuteranopia (green-blind)
#4A5572
Tritanopia (blue-blind)
#932648
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b2174;
/* rgb */ color: rgb(139, 33, 116);
/* oklch */ color: oklch(45.0% 0.167 338.3);
Tailwind
colors: {
  custom: {
    50: '#b0689c',
    500: '#8b2174',
    950: '#000000',
  },
}
SCSS
$custom: #8b2174;
$custom-light: #b0689c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2174",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 313.019,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45004,
    "c": 0.1665,
    "h": 338.3
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#8B2174
secondary
#4FB966
accent
#E56643
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2174

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

Preview Lab → · Contrast checker → · Palette generator →

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