#8A1D50#8A1D50

#8A1D50 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.150 H 357.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8A1D50
RGBrgb(138, 29, 80)
HSLhsl(332, 65%, 33%)
HSVhsv(332, 79%, 54%)
CMYKcmyk(0%, 79%, 42%, 45.9%)
CIE-LABlab(31.49, 48.67, -2.79)
CIE-LCHlch(31.49, 48.75, 356.73°)
OKLaboklab(42.91% 0.1496 -0.0067)
OKLCHoklch(42.91% 0.15 357.4)
XYZxyz(12.3695, 6.8628, 8.2611)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D50 #1D8A57
analogous
#8A1D86 #8A1D50 #8A211D
triadic
#8A1D50 #508A1D #1D508A
tetradic
#8A1D50 #868A1D #1D8A57 #211D8A
square
#8A1D50 #868A1D #1D8A57 #211D8A
split-complementary
#8A1D50 #1D8A21 #1D868A
monochromatic
#250815 #571233 #8A1D50 #BD286D #D9498C

Accessibility & contrast

On white

8.85
#8A1D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A1D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D50
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D50#FFFFFF#000000##FFFFFF
##8A1D501.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D51
Deuteranopia (green-blind)
#53514E
Tritanopia (blue-blind)
#960B34
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1d50;
/* rgb */ color: rgb(138, 29, 80);
/* oklch */ color: oklch(42.9% 0.150 357.4);
Tailwind
colors: {
  custom: {
    50: '#b16581',
    500: '#8a1d50',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d50;
$custom-light: #b16581;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d50",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 80
  },
  "hsl": {
    "h": 331.927,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42912,
    "c": 0.14976,
    "h": 357.4
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#8A1D50
secondary
#48BB85
accent
#E89940
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1D50

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

Preview Lab → · Contrast checker → · Palette generator →

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