#8A1D4C#8A1D4C

#8A1D4C is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.148 H 359.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#8A1D4C
RGBrgb(138, 29, 76)
HSLhsl(334, 65%, 33%)
HSVhsv(334, 79%, 54%)
CMYKcmyk(0%, 79%, 44.9%, 45.9%)
CIE-LABlab(31.36, 48.26, -0.35)
CIE-LCHlch(31.36, 48.26, 359.58°)
OKLaboklab(42.77% 0.1483 -0.0004)
OKLCHoklch(42.77% 0.148 359.9)
XYZxyz(12.2261, 6.8054, 7.5058)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D4C #1D8A5B
analogous
#8A1D83 #8A1D4C #8A241D
triadic
#8A1D4C #4C8A1D #1D4C8A
tetradic
#8A1D4C #838A1D #1D8A5B #241D8A
square
#8A1D4C #838A1D #1D8A5B #241D8A
split-complementary
#8A1D4C #1D8A24 #1D838A
monochromatic
#250814 #571230 #8A1D4C #BD2868 #D94987

Accessibility & contrast

On white

8.90
#8A1D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A1D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D4C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D4C#FFFFFF#000000##FFFFFF
##8A1D4C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4D
Deuteranopia (green-blind)
#535149
Tritanopia (blue-blind)
#960732
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1d4c;
/* rgb */ color: rgb(138, 29, 76);
/* oklch */ color: oklch(42.8% 0.148 359.9);
Tailwind
colors: {
  custom: {
    50: '#b1657d',
    500: '#8a1d4c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d4c;
$custom-light: #b1657d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d4c",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 334.128,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.14826,
    "h": 359.9
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#8A1D4C
secondary
#48BB89
accent
#E8A040
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #8A1D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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