#8A1D48#8A1D48

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

Color values

HEX#8A1D48
RGBrgb(138, 29, 72)
HSLhsl(336, 65%, 33%)
HSVhsv(336, 79%, 54%)
CMYKcmyk(0%, 79%, 47.8%, 45.9%)
CIE-LABlab(31.23, 47.87, 2.10)
CIE-LCHlch(31.23, 47.92, 2.52°)
OKLaboklab(42.64% 0.1468 0.0059)
OKLCHoklch(42.64% 0.147 2.3)
XYZxyz(12.0913, 6.7515, 6.7961)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D48 #1D8A5F
analogous
#8A1D7E #8A1D48 #8A281D
triadic
#8A1D48 #488A1D #1D488A
tetradic
#8A1D48 #7E8A1D #1D8A5F #281D8A
square
#8A1D48 #7E8A1D #1D8A5F #281D8A
split-complementary
#8A1D48 #1D8A28 #1D7E8A
monochromatic
#250813 #57122E #8A1D48 #BD2862 #D94982

Accessibility & contrast

On white

8.94
#8A1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D48
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D48#FFFFFF#000000##FFFFFF
##8A1D481.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#960430
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1d48;
/* rgb */ color: rgb(138, 29, 72);
/* oklch */ color: oklch(42.6% 0.147 2.3);
Tailwind
colors: {
  custom: {
    50: '#b1657a',
    500: '#8a1d48',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d48;
$custom-light: #b1657a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d48",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 336.33,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42639,
    "c": 0.14695,
    "h": 2.3
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#8A1D48
secondary
#48BB8E
accent
#E8A640
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1D48

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

Preview Lab → · Contrast checker → · Palette generator →

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