#8A1E4C#8A1E4C

#8A1E4C is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.147 H 0.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#8A1E4C
RGBrgb(138, 30, 76)
HSLhsl(334, 64%, 33%)
HSVhsv(334, 78%, 54%)
CMYKcmyk(0%, 78.3%, 44.9%, 45.9%)
CIE-LABlab(31.48, 47.94, -0.18)
CIE-LCHlch(31.48, 47.94, 359.78°)
OKLaboklab(42.86% 0.1472 0.0001)
OKLCHoklch(42.86% 0.147 0)
XYZxyz(12.2510, 6.8552, 7.5141)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E4C #1E8A5C
analogous
#8A1E82 #8A1E4C #8A261E
triadic
#8A1E4C #4C8A1E #1E4C8A
tetradic
#8A1E4C #828A1E #1E8A5C #261E8A
square
#8A1E4C #828A1E #1E8A5C #261E8A
split-complementary
#8A1E4C #1E8A26 #1E828A
monochromatic
#250815 #581330 #8A1E4C #BC2968 #D84B87

Accessibility & contrast

On white

8.86
#8A1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A1E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E4C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E4C#FFFFFF#000000##FFFFFF
##8A1E4C1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4D
Deuteranopia (green-blind)
#54524A
Tritanopia (blue-blind)
#960932
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1e4c;
/* rgb */ color: rgb(138, 30, 76);
/* oklch */ color: oklch(42.9% 0.147 0.0);
Tailwind
colors: {
  custom: {
    50: '#b1657d',
    500: '#8a1e4c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e4c;
$custom-light: #b1657d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e4c",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 334.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42856,
    "c": 0.14721,
    "h": 0
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#8A1E4C
secondary
#4ABA8A
accent
#E7A041
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #8A1E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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