#8B2157#8B2157

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

Color values

HEX#8B2157
RGBrgb(139, 33, 87)
HSLhsl(329, 62%, 34%)
HSVhsv(329, 76%, 55%)
CMYKcmyk(0%, 76.3%, 37.4%, 45.5%)
CIE-LABlab(32.41, 48.39, -5.98)
CIE-LCHlch(32.41, 48.76, 352.95°)
OKLaboklab(43.7% 0.1485 -0.0152)
OKLCHoklch(43.7% 0.149 354.2)
XYZxyz(12.9124, 7.2664, 9.7375)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2157 #218B55
analogous
#8A218B #8B2157 #8B2122
triadic
#8B2157 #578B21 #21578B
tetradic
#8B2157 #8B8A21 #218B55 #21228B
square
#8B2157 #8B8A21 #218B55 #21228B
split-complementary
#8B2157 #228B21 #218B8A
monochromatic
#280A19 #5A1538 #8B2157 #BC2D76 #D65194

Accessibility & contrast

On white

8.56
#8B2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8B2157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2157
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2157#FFFFFF#000000##FFFFFF
##8B21571.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354058
Deuteranopia (green-blind)
#535355
Tritanopia (blue-blind)
#961639
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b2157;
/* rgb */ color: rgb(139, 33, 87);
/* oklch */ color: oklch(43.7% 0.149 354.2);
Tailwind
colors: {
  custom: {
    50: '#b16786',
    500: '#8b2157',
    950: '#000000',
  },
}
SCSS
$custom: #8b2157;
$custom-light: #b16786;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2157",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 329.434,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43698,
    "c": 0.14925,
    "h": 354.2
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#8B2157
secondary
#4FB983
accent
#E59243
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8B2157

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

Preview Lab → · Contrast checker → · Palette generator →

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