#8B1874#8B1874

#8B1874 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.176 H 338.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8B1874
RGBrgb(139, 24, 116)
HSLhsl(312, 71%, 32%)
HSVhsv(312, 83%, 55%)
CMYKcmyk(0%, 82.7%, 16.5%, 45.5%)
CIE-LABlab(32.71, 54.89, -24.14)
CIE-LCHlch(32.71, 59.97, 336.26°)
OKLaboklab(44.33% 0.1628 -0.0656)
OKLCHoklch(44.33% 0.176 338)
XYZxyz(14.1268, 7.4046, 17.2049)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1874 #188B2F
analogous
#69188B #8B1874 #8B183B
triadic
#8B1874 #748B18 #18748B
tetradic
#8B1874 #8B6918 #188B2F #183B8B
square
#8B1874 #8B6918 #188B2F #183B8B
split-complementary
#8B1874 #3B8B18 #188B69
monochromatic
#23061D #570F48 #8B1874 #BF21A0 #DE3FBE

Accessibility & contrast

On white

8.47
#8B1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8B1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1874
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1874#FFFFFF#000000##FFFFFF
##8B18741.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4276
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#931F46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1874;
/* rgb */ color: rgb(139, 24, 116);
/* oklch */ color: oklch(44.3% 0.176 338.0);
Tailwind
colors: {
  custom: {
    50: '#b1659c',
    500: '#8b1874',
    950: '#000000',
  },
}
SCSS
$custom: #8b1874;
$custom-light: #b1659c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1874",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 312,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44331,
    "c": 0.17552,
    "h": 338
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#8B1874
secondary
#40BE5A
accent
#ED5E3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1874

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

Preview Lab → · Contrast checker → · Palette generator →

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