#8A1A4E#8A1A4E

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

Color values

HEX#8A1A4E
RGBrgb(138, 26, 78)
HSLhsl(332, 68%, 32%)
HSVhsv(332, 81%, 54%)
CMYKcmyk(0%, 81.2%, 43.5%, 45.9%)
CIE-LABlab(31.10, 49.39, -2.05)
CIE-LCHlch(31.10, 49.43, 357.62°)
OKLaboklab(42.6% 0.1519 -0.0048)
OKLCHoklch(42.6% 0.152 358.2)
XYZxyz(12.2267, 6.6937, 7.8544)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A4E #1A8A56
analogous
#8A1A86 #8A1A4E #8A1E1A
triadic
#8A1A4E #4E8A1A #1A4E8A
tetradic
#8A1A4E #868A1A #1A8A56 #1E1A8A
square
#8A1A4E #868A1A #1A8A56 #1E1A8A
split-complementary
#8A1A4E #1A8A1E #1A868A
monochromatic
#230714 #571031 #8A1A4E #BD246B #DC438A

Accessibility & contrast

On white

8.98
#8A1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A4E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A4E#FFFFFF#000000##FFFFFF
##8A1A4E1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4F
Deuteranopia (green-blind)
#52514B
Tritanopia (blue-blind)
#960332
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1a4e;
/* rgb */ color: rgb(138, 26, 78);
/* oklch */ color: oklch(42.6% 0.152 358.2);
Tailwind
colors: {
  custom: {
    50: '#b1647f',
    500: '#8a1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a4e;
$custom-light: #b1647f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a4e",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 332.143,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42602,
    "c": 0.15198,
    "h": 358.2
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#8A1A4E
secondary
#43BD84
accent
#EB9A3D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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