#8A1C4E#8A1C4E

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

Color values

HEX#8A1C4E
RGBrgb(138, 28, 78)
HSLhsl(333, 66%, 33%)
HSVhsv(333, 80%, 54%)
CMYKcmyk(0%, 79.7%, 43.5%, 45.9%)
CIE-LABlab(31.31, 48.78, -1.74)
CIE-LCHlch(31.31, 48.81, 357.96°)
OKLaboklab(42.76% 0.15 -0.004)
OKLCHoklch(42.76% 0.15 358.5)
XYZxyz(12.2726, 6.7854, 7.8697)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C4E #1C8A58
analogous
#8A1C85 #8A1C4E #8A211C
triadic
#8A1C4E #4E8A1C #1C4E8A
tetradic
#8A1C4E #858A1C #1C8A58 #211C8A
square
#8A1C4E #858A1C #1C8A58 #211C8A
split-complementary
#8A1C4E #1C8A21 #1C858A
monochromatic
#240714 #571231 #8A1C4E #BD266B #DA478A

Accessibility & contrast

On white

8.91
#8A1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1C4E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C4E#FFFFFF#000000##FFFFFF
##8A1C4E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4F
Deuteranopia (green-blind)
#53514B
Tritanopia (blue-blind)
#960732
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1c4e;
/* rgb */ color: rgb(138, 28, 78);
/* oklch */ color: oklch(42.8% 0.150 358.5);
Tailwind
colors: {
  custom: {
    50: '#b1647f',
    500: '#8a1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c4e;
$custom-light: #b1647f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c4e",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 332.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42759,
    "c": 0.15001,
    "h": 358.5
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#8A1C4E
secondary
#46BB86
accent
#E99C3F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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