#8A1D40#8A1D40

#8A1D40 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.145 H 7.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#8A1D40
RGBrgb(138, 29, 64)
HSLhsl(341, 65%, 33%)
HSVhsv(341, 79%, 54%)
CMYKcmyk(0%, 79%, 53.6%, 45.9%)
CIE-LABlab(31.01, 47.15, 7.07)
CIE-LCHlch(31.01, 47.68, 8.52°)
OKLaboklab(42.4% 0.1438 0.0182)
OKLCHoklch(42.4% 0.145 7.2)
XYZxyz(11.8471, 6.6538, 5.5100)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D40 #1D8A67
analogous
#8A1D76 #8A1D40 #8A311D
triadic
#8A1D40 #408A1D #1D408A
tetradic
#8A1D40 #768A1D #1D8A67 #311D8A
square
#8A1D40 #768A1D #1D8A67 #311D8A
split-complementary
#8A1D40 #1D8A31 #1D768A
monochromatic
#250811 #571229 #8A1D40 #BD2857 #D94977

Accessibility & contrast

On white

9.01
#8A1D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D40
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D40#FFFFFF#000000##FFFFFF
##8A1D401.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1d40;
/* rgb */ color: rgb(138, 29, 64);
/* oklch */ color: oklch(42.4% 0.145 7.2);
Tailwind
colors: {
  custom: {
    50: '#b26474',
    500: '#8a1d40',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d40;
$custom-light: #b26474;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d40",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 340.734,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42396,
    "c": 0.14492,
    "h": 7.2
  },
  "luminance": 0.06652
}

Semantic roles & 50–950 ramp

primary
#8A1D40
secondary
#48BB96
accent
#E8B240
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1D40

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

Preview Lab → · Contrast checker → · Palette generator →

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