#8A1954#8A1954

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

Color values

HEX#8A1954
RGBrgb(138, 25, 84)
HSLhsl(329, 69%, 32%)
HSVhsv(329, 82%, 54%)
CMYKcmyk(0%, 81.9%, 39.1%, 45.9%)
CIE-LABlab(31.21, 50.31, -5.83)
CIE-LCHlch(31.21, 50.65, 353.39°)
OKLaboklab(42.75% 0.1547 -0.0148)
OKLCHoklch(42.75% 0.155 354.5)
XYZxyz(12.4300, 6.7402, 9.0322)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1954 #198A4F
analogous
#88198A #8A1954 #8A191B
triadic
#8A1954 #548A19 #19548A
tetradic
#8A1954 #8A8819 #198A4F #191B8A
square
#8A1954 #8A8819 #198A4F #191B8A
split-complementary
#8A1954 #1B8A19 #198A88
monochromatic
#220615 #561034 #8A1954 #BE2274 #DD4192

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1954#FFFFFF#000000##FFFFFF
##8A19541.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)
#313C55
Deuteranopia (green-blind)
#515151
Tritanopia (blue-blind)
#950734
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1954;
/* rgb */ color: rgb(138, 25, 84);
/* oklch */ color: oklch(42.8% 0.155 354.5);
Tailwind
colors: {
  custom: {
    50: '#b16484',
    500: '#8a1954',
    950: '#000000',
  },
}
SCSS
$custom: #8a1954;
$custom-light: #b16484;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1954",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 328.673,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42751,
    "c": 0.15543,
    "h": 354.5
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#8A1954
secondary
#42BD7D
accent
#EC903C
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1954

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

Preview Lab → · Contrast checker → · Palette generator →

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