#8A1E49#8A1E49

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

Color values

HEX#8A1E49
RGBrgb(138, 30, 73)
HSLhsl(336, 64%, 33%)
HSVhsv(336, 78%, 54%)
CMYKcmyk(0%, 78.3%, 47.1%, 45.9%)
CIE-LABlab(31.38, 47.64, 1.66)
CIE-LCHlch(31.38, 47.67, 1.99°)
OKLaboklab(42.76% 0.1461 0.0048)
OKLCHoklch(42.76% 0.146 1.9)
XYZxyz(12.1491, 6.8145, 6.9776)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E49 #1E8A5F
analogous
#8A1E7F #8A1E49 #8A291E
triadic
#8A1E49 #498A1E #1E498A
tetradic
#8A1E49 #7F8A1E #1E8A5F #291E8A
square
#8A1E49 #7F8A1E #1E8A5F #291E8A
split-complementary
#8A1E49 #1E8A29 #1E7F8A
monochromatic
#250814 #58132E #8A1E49 #BC2964 #D84B83

Accessibility & contrast

On white

8.89
#8A1E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E49
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E49#FFFFFF#000000##FFFFFF
##8A1E491.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1e49;
/* rgb */ color: rgb(138, 30, 73);
/* oklch */ color: oklch(42.8% 0.146 1.9);
Tailwind
colors: {
  custom: {
    50: '#b1657b',
    500: '#8a1e49',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e49;
$custom-light: #b1657b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e49",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 336.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42756,
    "c": 0.14622,
    "h": 1.9
  },
  "luminance": 0.06813
}

Semantic roles & 50–950 ramp

primary
#8A1E49
secondary
#4ABA8D
accent
#E7A541
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1E49

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

Preview Lab → · Contrast checker → · Palette generator →

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