#8A1C48#8A1C48

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

Color values

HEX#8A1C48
RGBrgb(138, 28, 72)
HSLhsl(336, 66%, 33%)
HSVhsv(336, 80%, 54%)
CMYKcmyk(0%, 79.7%, 47.8%, 45.9%)
CIE-LABlab(31.12, 48.19, 1.94)
CIE-LCHlch(31.12, 48.23, 2.31°)
OKLaboklab(42.56% 0.1479 0.0055)
OKLCHoklch(42.56% 0.148 2.1)
XYZxyz(12.0672, 6.7033, 6.7881)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C48 #1C8A5E
analogous
#8A1C7F #8A1C48 #8A271C
triadic
#8A1C48 #488A1C #1C488A
tetradic
#8A1C48 #7F8A1C #1C8A5E #271C8A
square
#8A1C48 #7F8A1C #1C8A5E #271C8A
split-complementary
#8A1C48 #1C8A27 #1C7F8A
monochromatic
#240713 #57122D #8A1C48 #BD2663 #DA4782

Accessibility & contrast

On white

8.97
#8A1C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1C48
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C48#FFFFFF#000000##FFFFFF
##8A1C481.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1c48;
/* rgb */ color: rgb(138, 28, 72);
/* oklch */ color: oklch(42.6% 0.148 2.1);
Tailwind
colors: {
  custom: {
    50: '#b1647a',
    500: '#8a1c48',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c48;
$custom-light: #b1647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c48",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 336,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42556,
    "c": 0.14795,
    "h": 2.1
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#8A1C48
secondary
#46BB8D
accent
#E9A53F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1C48

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

Preview Lab → · Contrast checker → · Palette generator →

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