#8A1D47#8A1D47

#8A1D47 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.147 H 2.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#8A1D47
RGBrgb(138, 29, 71)
HSLhsl(337, 65%, 33%)
HSVhsv(337, 79%, 54%)
CMYKcmyk(0%, 79%, 48.6%, 45.9%)
CIE-LABlab(31.20, 47.78, 2.72)
CIE-LCHlch(31.20, 47.85, 3.26°)
OKLaboklab(42.61% 0.1465 0.0075)
OKLCHoklch(42.61% 0.147 2.9)
XYZxyz(12.0589, 6.7386, 6.6257)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D47 #1D8A60
analogous
#8A1D7D #8A1D47 #8A2A1D
triadic
#8A1D47 #478A1D #1D478A
tetradic
#8A1D47 #7D8A1D #1D8A60 #2A1D8A
square
#8A1D47 #7D8A1D #1D8A60 #2A1D8A
split-complementary
#8A1D47 #1D8A2A #1D7D8A
monochromatic
#250813 #57122D #8A1D47 #BD2861 #D94980

Accessibility & contrast

On white

8.95
#8A1D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D47
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D47#FFFFFF#000000##FFFFFF
##8A1D471.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C48
Deuteranopia (green-blind)
#545144
Tritanopia (blue-blind)
#96032F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1d47;
/* rgb */ color: rgb(138, 29, 71);
/* oklch */ color: oklch(42.6% 0.147 2.9);
Tailwind
colors: {
  custom: {
    50: '#b1657a',
    500: '#8a1d47',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d47;
$custom-light: #b1657a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d47",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 336.881,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42607,
    "c": 0.14665,
    "h": 2.9
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#8A1D47
secondary
#48BB8F
accent
#E8A740
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1D47

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

Preview Lab → · Contrast checker → · Palette generator →

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