#8B2168#8B2168

#8B2168 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.159 H 344.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8B2168
RGBrgb(139, 33, 104)
HSLhsl(320, 62%, 34%)
HSVhsv(320, 76%, 55%)
CMYKcmyk(0%, 76.3%, 25.2%, 45.5%)
CIE-LABlab(33.09, 50.52, -15.92)
CIE-LCHlch(33.09, 52.96, 342.51°)
OKLaboklab(44.42% 0.1528 -0.0424)
OKLCHoklch(44.42% 0.159 344.5)
XYZxyz(13.6906, 7.5776, 13.8357)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2168 #218B44
analogous
#79218B #8B2168 #8B2133
triadic
#8B2168 #688B21 #21688B
tetradic
#8B2168 #8B7921 #218B44 #21338B
square
#8B2168 #8B7921 #218B44 #21338B
split-complementary
#8B2168 #338B21 #218B79
monochromatic
#280A1E #5A1543 #8B2168 #BC2D8D #D651AA

Accessibility & contrast

On white

8.35
#8B2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8B2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2168
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2168#FFFFFF#000000##FFFFFF
##8B21681.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E426A
Deuteranopia (green-blind)
#4E5466
Tritanopia (blue-blind)
#942042
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b2168;
/* rgb */ color: rgb(139, 33, 104);
/* oklch */ color: oklch(44.4% 0.159 344.5);
Tailwind
colors: {
  custom: {
    50: '#b16793',
    500: '#8b2168',
    950: '#000000',
  },
}
SCSS
$custom: #8b2168;
$custom-light: #b16793;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2168",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 319.811,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.15855,
    "h": 344.5
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#8B2168
secondary
#4FB972
accent
#E57843
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B2168

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

Preview Lab → · Contrast checker → · Palette generator →

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