#8B2158#8B2158

#8B2158 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.150 H 353.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8B2158
RGBrgb(139, 33, 88)
HSLhsl(329, 62%, 34%)
HSVhsv(329, 76%, 55%)
CMYKcmyk(0%, 76.3%, 36.7%, 45.5%)
CIE-LABlab(32.44, 48.51, -6.58)
CIE-LCHlch(32.44, 48.95, 352.28°)
OKLaboklab(43.74% 0.1488 -0.0168)
OKLCHoklch(43.74% 0.15 353.6)
XYZxyz(12.9536, 7.2828, 9.9542)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2158 #218B54
analogous
#89218B #8B2158 #8B2123
triadic
#8B2158 #588B21 #21588B
tetradic
#8B2158 #8B8921 #218B54 #21238B
square
#8B2158 #8B8921 #218B54 #21238B
split-complementary
#8B2158 #238B21 #218B89
monochromatic
#280A19 #5A1539 #8B2158 #BC2D77 #D65196

Accessibility & contrast

On white

8.55
#8B2158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8B2158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2158
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2158#FFFFFF#000000##FFFFFF
##8B21581.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354059
Deuteranopia (green-blind)
#535356
Tritanopia (blue-blind)
#961739
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b2158;
/* rgb */ color: rgb(139, 33, 88);
/* oklch */ color: oklch(43.7% 0.150 353.6);
Tailwind
colors: {
  custom: {
    50: '#b16787',
    500: '#8b2158',
    950: '#000000',
  },
}
SCSS
$custom: #8b2158;
$custom-light: #b16787;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2158",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 328.868,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43736,
    "c": 0.14971,
    "h": 353.6
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#8B2158
secondary
#4FB982
accent
#E59143
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8B2158

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

Preview Lab → · Contrast checker → · Palette generator →

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