#8A1E47#8A1E47

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

Color values

HEX#8A1E47
RGBrgb(138, 30, 71)
HSLhsl(337, 64%, 33%)
HSVhsv(337, 78%, 54%)
CMYKcmyk(0%, 78.3%, 48.6%, 45.9%)
CIE-LABlab(31.32, 47.45, 2.89)
CIE-LCHlch(31.32, 47.54, 3.48°)
OKLaboklab(42.69% 0.1454 0.0079)
OKLCHoklch(42.69% 0.146 3.1)
XYZxyz(12.0838, 6.7884, 6.6340)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E47 #1E8A61
analogous
#8A1E7D #8A1E47 #8A2B1E
triadic
#8A1E47 #478A1E #1E478A
tetradic
#8A1E47 #7D8A1E #1E8A61 #2B1E8A
square
#8A1E47 #7D8A1E #1E8A61 #2B1E8A
split-complementary
#8A1E47 #1E8A2B #1E7D8A
monochromatic
#250813 #58132D #8A1E47 #BC2961 #D84B80

Accessibility & contrast

On white

8.91
#8A1E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E47
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E47#FFFFFF#000000##FFFFFF
##8A1E471.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C48
Deuteranopia (green-blind)
#555144
Tritanopia (blue-blind)
#960530
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1e47;
/* rgb */ color: rgb(138, 30, 71);
/* oklch */ color: oklch(42.7% 0.146 3.1);
Tailwind
colors: {
  custom: {
    50: '#b1657a',
    500: '#8a1e47',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e47;
$custom-light: #b1657a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e47",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 337.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42692,
    "c": 0.14561,
    "h": 3.1
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#8A1E47
secondary
#4ABA8F
accent
#E7A841
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1E47

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

Preview Lab → · Contrast checker → · Palette generator →

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