#8A1863#8A1863

#8A1863 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.164 H 346.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8A1863
RGBrgb(138, 24, 99)
HSLhsl(321, 70%, 32%)
HSVhsv(321, 83%, 54%)
CMYKcmyk(0%, 82.6%, 28.3%, 45.9%)
CIE-LABlab(31.71, 52.35, -14.83)
CIE-LCHlch(31.71, 54.41, 344.19°)
OKLaboklab(43.32% 0.1594 -0.0393)
OKLCHoklch(43.32% 0.164 346.1)
XYZxyz(13.0606, 6.9589, 12.4574)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1863 #188A3F
analogous
#78188A #8A1863 #8A182A
triadic
#8A1863 #638A18 #18638A
tetradic
#8A1863 #8A7818 #188A3F #182A8A
square
#8A1863 #8A7818 #188A3F #182A8A
split-complementary
#8A1863 #2A8A18 #188A78
monochromatic
#220618 #560F3E #8A1863 #BE2188 #DE3FA7

Accessibility & contrast

On white

8.78
#8A1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A1863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1863
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1863#FFFFFF#000000##FFFFFF
##8A18631.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3E65
Deuteranopia (green-blind)
#4C5161
Tritanopia (blue-blind)
#94143C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1863;
/* rgb */ color: rgb(138, 24, 99);
/* oklch */ color: oklch(43.3% 0.164 346.1);
Tailwind
colors: {
  custom: {
    50: '#b0648f',
    500: '#8a1863',
    950: '#000000',
  },
}
SCSS
$custom: #8a1863;
$custom-light: #b0648f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1863",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 320.526,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43315,
    "c": 0.16414,
    "h": 346.1
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#8A1863
secondary
#40BD6B
accent
#ED783B
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1863

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

Preview Lab → · Contrast checker → · Palette generator →

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