#8A1870#8A1870

#8A1870 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 44.0% C 0.172 H 339.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8A1870
RGBrgb(138, 24, 112)
HSLhsl(314, 70%, 32%)
HSVhsv(314, 83%, 54%)
CMYKcmyk(0%, 82.6%, 18.8%, 45.9%)
CIE-LABlab(32.32, 54.09, -22.23)
CIE-LCHlch(32.32, 58.48, 337.66°)
OKLaboklab(43.95% 0.1614 -0.0602)
OKLCHoklch(43.95% 0.172 339.6)
XYZxyz(13.7329, 7.2278, 15.9980)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1870 #188A32
analogous
#6B188A #8A1870 #8A1837
triadic
#8A1870 #708A18 #18708A
tetradic
#8A1870 #8A6B18 #188A32 #18378A
square
#8A1870 #8A6B18 #188A32 #18378A
split-complementary
#8A1870 #378A18 #188A6B
monochromatic
#22061B #560F46 #8A1870 #BE219A #DE3FB9

Accessibility & contrast

On white

8.59
#8A1870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1870
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1870#FFFFFF#000000##FFFFFF
##8A18701.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214172
Deuteranopia (green-blind)
#48526D
Tritanopia (blue-blind)
#921D43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1870;
/* rgb */ color: rgb(138, 24, 112);
/* oklch */ color: oklch(44.0% 0.172 339.6);
Tailwind
colors: {
  custom: {
    50: '#b06499',
    500: '#8a1870',
    950: '#000000',
  },
}
SCSS
$custom: #8a1870;
$custom-light: #b06499;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1870",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 313.684,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4395,
    "c": 0.17226,
    "h": 339.6
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#8A1870
secondary
#40BD5D
accent
#ED633B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1870

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

Preview Lab → · Contrast checker → · Palette generator →

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