#8A1D53#8A1D53

#8A1D53 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.151 H 355.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8A1D53
RGBrgb(138, 29, 83)
HSLhsl(330, 65%, 33%)
HSVhsv(330, 79%, 54%)
CMYKcmyk(0%, 79%, 39.9%, 45.9%)
CIE-LABlab(31.60, 48.99, -4.60)
CIE-LCHlch(31.60, 49.21, 354.64°)
OKLaboklab(43.02% 0.1506 -0.0115)
OKLCHoklch(43.02% 0.151 355.6)
XYZxyz(12.4828, 6.9081, 8.8580)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D53 #1D8A54
analogous
#8A1D89 #8A1D53 #8A1D1D
triadic
#8A1D53 #538A1D #1D538A
tetradic
#8A1D53 #898A1D #1D8A54 #1D1D8A
square
#8A1D53 #898A1D #1D8A54 #1D1D8A
split-complementary
#8A1D53 #1D8A1D #1D898A
monochromatic
#250816 #571235 #8A1D53 #BD2871 #D94990

Accessibility & contrast

On white

8.82
#8A1D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A1D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D53
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D53#FFFFFF#000000##FFFFFF
##8A1D531.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D54
Deuteranopia (green-blind)
#525251
Tritanopia (blue-blind)
#950E35
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1d53;
/* rgb */ color: rgb(138, 29, 83);
/* oklch */ color: oklch(43.0% 0.151 355.6);
Tailwind
colors: {
  custom: {
    50: '#b16583',
    500: '#8a1d53',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d53;
$custom-light: #b16583;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d53",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 330.275,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43023,
    "c": 0.15102,
    "h": 355.6
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#8A1D53
secondary
#48BB82
accent
#E89540
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1D53

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

Preview Lab → · Contrast checker → · Palette generator →

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