#8A1B4E#8A1B4E

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

Color values

HEX#8A1B4E
RGBrgb(138, 27, 78)
HSLhsl(332, 67%, 32%)
HSVhsv(332, 80%, 54%)
CMYKcmyk(0%, 80.4%, 43.5%, 45.9%)
CIE-LABlab(31.20, 49.09, -1.89)
CIE-LCHlch(31.20, 49.13, 357.79°)
OKLaboklab(42.68% 0.151 -0.0044)
OKLCHoklch(42.68% 0.151 358.3)
XYZxyz(12.2492, 6.7388, 7.8619)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B4E #1B8A57
analogous
#8A1B86 #8A1B4E #8A1F1B
triadic
#8A1B4E #4E8A1B #1B4E8A
tetradic
#8A1B4E #868A1B #1B8A57 #1F1B8A
square
#8A1B4E #868A1B #1B8A57 #1F1B8A
split-complementary
#8A1B4E #1B8A1F #1B868A
monochromatic
#240714 #571131 #8A1B4E #BD256B #DB458A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1B4E#FFFFFF#000000##FFFFFF
##8A1B4E1.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)
#343C4F
Deuteranopia (green-blind)
#52514B
Tritanopia (blue-blind)
#960532
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1b4e;
/* rgb */ color: rgb(138, 27, 78);
/* oklch */ color: oklch(42.7% 0.151 358.3);
Tailwind
colors: {
  custom: {
    50: '#b1647f',
    500: '#8a1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b4e;
$custom-light: #b1647f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b4e",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 332.432,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4268,
    "c": 0.15101,
    "h": 358.3
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#8A1B4E
secondary
#45BC85
accent
#EA9B3E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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