#8A1E41#8A1E41

#8A1E41 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.144 H 6.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8A1E41
RGBrgb(138, 30, 65)
HSLhsl(341, 64%, 33%)
HSVhsv(341, 78%, 54%)
CMYKcmyk(0%, 78.3%, 52.9%, 45.9%)
CIE-LABlab(31.15, 46.91, 6.61)
CIE-LCHlch(31.15, 47.37, 8.02°)
OKLaboklab(42.51% 0.1431 0.0171)
OKLCHoklch(42.51% 0.144 6.8)
XYZxyz(11.9007, 6.7151, 5.6695)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E41 #1E8A67
analogous
#8A1E77 #8A1E41 #8A311E
triadic
#8A1E41 #418A1E #1E418A
tetradic
#8A1E41 #778A1E #1E8A67 #311E8A
square
#8A1E41 #778A1E #1E8A67 #311E8A
split-complementary
#8A1E41 #1E8A31 #1E778A
monochromatic
#250812 #581329 #8A1E41 #BC2959 #D84B78

Accessibility & contrast

On white

8.96
#8A1E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E41
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E41#FFFFFF#000000##FFFFFF
##8A1E411.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C42
Deuteranopia (green-blind)
#56513E
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1e41;
/* rgb */ color: rgb(138, 30, 65);
/* oklch */ color: oklch(42.5% 0.144 6.8);
Tailwind
colors: {
  custom: {
    50: '#b26575',
    500: '#8a1e41',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e41;
$custom-light: #b26575;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e41",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 65
  },
  "hsl": {
    "h": 340.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.14412,
    "h": 6.8
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#8A1E41
secondary
#4ABA96
accent
#E7B141
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1E41

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

Preview Lab → · Contrast checker → · Palette generator →

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