#8A1C4A#8A1C4A

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

Color values

HEX#8A1C4A
RGBrgb(138, 28, 74)
HSLhsl(335, 66%, 33%)
HSVhsv(335, 80%, 54%)
CMYKcmyk(0%, 79.7%, 46.4%, 45.9%)
CIE-LABlab(31.18, 48.38, 0.71)
CIE-LCHlch(31.18, 48.39, 0.84°)
OKLaboklab(42.62% 0.1486 0.0024)
OKLCHoklch(42.62% 0.149 0.9)
XYZxyz(12.1335, 6.7298, 7.1373)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C4A #1C8A5C
analogous
#8A1C81 #8A1C4A #8A251C
triadic
#8A1C4A #4A8A1C #1C4A8A
tetradic
#8A1C4A #818A1C #1C8A5C #251C8A
square
#8A1C4A #818A1C #1C8A5C #251C8A
split-complementary
#8A1C4A #1C8A25 #1C818A
monochromatic
#240713 #57122F #8A1C4A #BD2665 #DA4784

Accessibility & contrast

On white

8.95
#8A1C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1C4A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C4A#FFFFFF#000000##FFFFFF
##8A1C4A1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4B
Deuteranopia (green-blind)
#545147
Tritanopia (blue-blind)
#960330
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1c4a;
/* rgb */ color: rgb(138, 28, 74);
/* oklch */ color: oklch(42.6% 0.149 0.9);
Tailwind
colors: {
  custom: {
    50: '#b1647c',
    500: '#8a1c4a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c4a;
$custom-light: #b1647c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c4a",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 334.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.14859,
    "h": 0.9
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#8A1C4A
secondary
#46BB8A
accent
#E9A23F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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