#8A146E#8A146E

#8A146E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.6% C 0.174 H 340.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8A146E
RGBrgb(138, 20, 110)
HSLhsl(314, 75%, 31%)
HSVhsv(314, 86%, 54%)
CMYKcmyk(0%, 85.5%, 20.3%, 45.9%)
CIE-LABlab(31.88, 54.81, -21.64)
CIE-LCHlch(31.88, 58.93, 338.45°)
OKLaboklab(43.6% 0.1642 -0.0585)
OKLCHoklch(43.6% 0.174 340.4)
XYZxyz(13.5463, 7.0308, 15.3925)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A146E #148A30
analogous
#6B148A #8A146E #8A1433
triadic
#8A146E #6E8A14 #146E8A
tetradic
#8A146E #8A6B14 #148A30 #14338A
square
#8A146E #8A6B14 #148A30 #14338A
split-complementary
#8A146E #338A14 #148A6B
monochromatic
#1F0519 #550C43 #8A146E #BF1C99 #E236B9

Accessibility & contrast

On white

8.73
#8A146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A146E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A146E#FFFFFF#000000##FFFFFF
##8A146E1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F70
Deuteranopia (green-blind)
#47516B
Tritanopia (blue-blind)
#931941
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a146e;
/* rgb */ color: rgb(138, 20, 110);
/* oklch */ color: oklch(43.6% 0.174 340.4);
Tailwind
colors: {
  custom: {
    50: '#b06398',
    500: '#8a146e',
    950: '#000000',
  },
}
SCSS
$custom: #8a146e;
$custom-light: #b06398;
$custom-dark: #000000;
JSON
{
  "hex": "#8a146e",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 314.237,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.436,
    "c": 0.17432,
    "h": 340.4
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#8A146E
secondary
#3CBE5B
accent
#F16336
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A146E

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

Preview Lab → · Contrast checker → · Palette generator →

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