#8B1857#8B1857

#8B1857 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.159 H 353.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8B1857
RGBrgb(139, 24, 87)
HSLhsl(327, 71%, 32%)
HSVhsv(327, 83%, 55%)
CMYKcmyk(0%, 82.7%, 37.4%, 45.5%)
CIE-LABlab(31.42, 51.18, -7.46)
CIE-LCHlch(31.42, 51.72, 351.71°)
OKLaboklab(42.98% 0.1573 -0.0191)
OKLCHoklch(42.98% 0.159 353.1)
XYZxyz(12.6952, 6.8320, 9.6651)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1857 #188B4C
analogous
#85188B #8B1857 #8B181E
triadic
#8B1857 #578B18 #18578B
tetradic
#8B1857 #8B8518 #188B4C #181E8B
square
#8B1857 #8B8518 #188B4C #181E8B
split-complementary
#8B1857 #1E8B18 #188B85
monochromatic
#230616 #570F36 #8B1857 #BF2178 #DE3F96

Accessibility & contrast

On white

8.88
#8B1857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8B1857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1857
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1857#FFFFFF#000000##FFFFFF
##8B18571.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D59
Deuteranopia (green-blind)
#505154
Tritanopia (blue-blind)
#960836
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b1857;
/* rgb */ color: rgb(139, 24, 87);
/* oklch */ color: oklch(43.0% 0.159 353.1);
Tailwind
colors: {
  custom: {
    50: '#b26386',
    500: '#8b1857',
    950: '#000000',
  },
}
SCSS
$custom: #8b1857;
$custom-light: #b26386;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1857",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 327.13,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.1585,
    "h": 353.1
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#8B1857
secondary
#40BE79
accent
#ED8B3A
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8B1857

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

Preview Lab → · Contrast checker → · Palette generator →

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