#8B1852#8B1852

#8B1852 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.156 H 355.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8B1852
RGBrgb(139, 24, 82)
HSLhsl(330, 71%, 32%)
HSVhsv(330, 83%, 55%)
CMYKcmyk(0%, 82.7%, 41%, 45.5%)
CIE-LABlab(31.24, 50.64, -4.45)
CIE-LCHlch(31.24, 50.84, 354.97°)
OKLaboklab(42.79% 0.1559 -0.0111)
OKLCHoklch(42.79% 0.156 355.9)
XYZxyz(12.4980, 6.7531, 8.6263)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1852 #188B51
analogous
#8B188B #8B1852 #8B1819
triadic
#8B1852 #528B18 #18528B
tetradic
#8B1852 #8B8B18 #188B51 #18198B
square
#8B1852 #8B8B18 #188B51 #18198B
split-complementary
#8B1852 #198B18 #188B8B
monochromatic
#230614 #570F33 #8B1852 #BF2171 #DE3F8F

Accessibility & contrast

On white

8.94
#8B1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8B1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1852
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1852#FFFFFF#000000##FFFFFF
##8B18521.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#52514F
Tritanopia (blue-blind)
#970233
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1852;
/* rgb */ color: rgb(139, 24, 82);
/* oklch */ color: oklch(42.8% 0.156 355.9);
Tailwind
colors: {
  custom: {
    50: '#b26382',
    500: '#8b1852',
    950: '#000000',
  },
}
SCSS
$custom: #8b1852;
$custom-light: #b26382;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1852",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 329.739,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.15625,
    "h": 355.9
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#8B1852
secondary
#40BE7F
accent
#ED933A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8B1852

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

Preview Lab → · Contrast checker → · Palette generator →

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