#8A1E4A#8A1E4A

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

Color values

HEX#8A1E4A
RGBrgb(138, 30, 74)
HSLhsl(336, 64%, 33%)
HSVhsv(336, 78%, 54%)
CMYKcmyk(0%, 78.3%, 46.4%, 45.9%)
CIE-LABlab(31.41, 47.74, 1.04)
CIE-LCHlch(31.41, 47.75, 1.25°)
OKLaboklab(42.79% 0.1465 0.0032)
OKLCHoklch(42.79% 0.147 1.3)
XYZxyz(12.1825, 6.8279, 7.1536)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E4A #1E8A5E
analogous
#8A1E80 #8A1E4A #8A281E
triadic
#8A1E4A #4A8A1E #1E4A8A
tetradic
#8A1E4A #808A1E #1E8A5E #281E8A
square
#8A1E4A #808A1E #1E8A5E #281E8A
split-complementary
#8A1E4A #1E8A28 #1E808A
monochromatic
#250814 #58132F #8A1E4A #BC2965 #D84B84

Accessibility & contrast

On white

8.88
#8A1E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E4A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E4A#FFFFFF#000000##FFFFFF
##8A1E4A1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4B
Deuteranopia (green-blind)
#545147
Tritanopia (blue-blind)
#960731
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1e4a;
/* rgb */ color: rgb(138, 30, 74);
/* oklch */ color: oklch(42.8% 0.147 1.3);
Tailwind
colors: {
  custom: {
    50: '#b1657c',
    500: '#8a1e4a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e4a;
$custom-light: #b1657c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e4a",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 335.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42789,
    "c": 0.14654,
    "h": 1.3
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#8A1E4A
secondary
#4ABA8C
accent
#E7A341
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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