#8A1549#8A1549

#8A1549 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.155 H 0.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#8A1549
RGBrgb(138, 21, 73)
HSLhsl(333, 74%, 31%)
HSVhsv(333, 85%, 54%)
CMYKcmyk(0%, 84.8%, 47.1%, 45.9%)
CIE-LABlab(30.45, 50.27, 0.31)
CIE-LCHlch(30.45, 50.27, 0.35°)
OKLaboklab(42.08% 0.1546 0.0013)
OKLCHoklch(42.08% 0.155 0.5)
XYZxyz(11.9530, 6.4223, 6.9122)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1549 #158A56
analogous
#8A1583 #8A1549 #8A1B15
triadic
#8A1549 #498A15 #15498A
tetradic
#8A1549 #838A15 #158A56 #1B158A
square
#8A1549 #838A15 #158A56 #1B158A
split-complementary
#8A1549 #158A1B #15838A
monochromatic
#200511 #550D2D #8A1549 #BF1D65 #E13983

Accessibility & contrast

On white

9.19
#8A1549 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1549 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1549
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1549#FFFFFF#000000##FFFFFF
##8A15491.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33394A
Deuteranopia (green-blind)
#525046
Tritanopia (blue-blind)
#96002D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1549;
/* rgb */ color: rgb(138, 21, 73);
/* oklch */ color: oklch(42.1% 0.155 0.5);
Tailwind
colors: {
  custom: {
    50: '#b2627b',
    500: '#8a1549',
    950: '#000000',
  },
}
SCSS
$custom: #8a1549;
$custom-light: #b2627b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1549",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 73
  },
  "hsl": {
    "h": 333.333,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42077,
    "c": 0.15463,
    "h": 0.5
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#8A1549
secondary
#3DBE85
accent
#F09E38
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1549

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

Preview Lab → · Contrast checker → · Palette generator →

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