#8A1D46#8A1D46

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

Color values

HEX#8A1D46
RGBrgb(138, 29, 70)
HSLhsl(337, 65%, 33%)
HSVhsv(337, 79%, 54%)
CMYKcmyk(0%, 79%, 49.3%, 45.9%)
CIE-LABlab(31.17, 47.68, 3.34)
CIE-LCHlch(31.17, 47.80, 4.00°)
OKLaboklab(42.58% 0.1461 0.009)
OKLCHoklch(42.58% 0.146 3.5)
XYZxyz(12.0271, 6.7258, 6.4581)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D46 #1D8A61
analogous
#8A1D7C #8A1D46 #8A2A1D
triadic
#8A1D46 #468A1D #1D468A
tetradic
#8A1D46 #7C8A1D #1D8A61 #2A1D8A
square
#8A1D46 #7C8A1D #1D8A61 #2A1D8A
split-complementary
#8A1D46 #1D8A2A #1D7C8A
monochromatic
#250813 #57122C #8A1D46 #BD2860 #D9497F

Accessibility & contrast

On white

8.96
#8A1D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8A1D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D46
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D46#FFFFFF#000000##FFFFFF
##8A1D461.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C47
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#96022F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1d46;
/* rgb */ color: rgb(138, 29, 70);
/* oklch */ color: oklch(42.6% 0.146 3.5);
Tailwind
colors: {
  custom: {
    50: '#b16579',
    500: '#8a1d46',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d46;
$custom-light: #b16579;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d46",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 70
  },
  "hsl": {
    "h": 337.431,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42575,
    "c": 0.14636,
    "h": 3.5
  },
  "luminance": 0.06724
}

Semantic roles & 50–950 ramp

primary
#8A1D46
secondary
#48BB90
accent
#E8A940
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1D46

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

Preview Lab → · Contrast checker → · Palette generator →

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