#8A1E40#8A1E40

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

Color values

HEX#8A1E40
RGBrgb(138, 30, 64)
HSLhsl(341, 64%, 33%)
HSVhsv(341, 78%, 54%)
CMYKcmyk(0%, 78.3%, 53.6%, 45.9%)
CIE-LABlab(31.12, 46.82, 7.23)
CIE-LCHlch(31.12, 47.38, 8.78°)
OKLaboklab(42.48% 0.1427 0.0186)
OKLCHoklch(42.48% 0.144 7.4)
XYZxyz(11.8720, 6.7036, 5.5183)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E40 #1E8A68
analogous
#8A1E76 #8A1E40 #8A321E
triadic
#8A1E40 #408A1E #1E408A
tetradic
#8A1E40 #768A1E #1E8A68 #321E8A
square
#8A1E40 #768A1E #1E8A68 #321E8A
split-complementary
#8A1E40 #1E8A32 #1E768A
monochromatic
#250811 #581329 #8A1E40 #BC2957 #D84B77

Accessibility & contrast

On white

8.97
#8A1E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E40
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E40#FFFFFF#000000##FFFFFF
##8A1E401.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3B41
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1e40;
/* rgb */ color: rgb(138, 30, 64);
/* oklch */ color: oklch(42.5% 0.144 7.4);
Tailwind
colors: {
  custom: {
    50: '#b26574',
    500: '#8a1e40',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e40;
$custom-light: #b26574;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e40",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 341.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.14392,
    "h": 7.4
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#8A1E40
secondary
#4ABA97
accent
#E7B341
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1E40

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

Preview Lab → · Contrast checker → · Palette generator →

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