#8A1D44#8A1D44

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

Color values

HEX#8A1D44
RGBrgb(138, 29, 68)
HSLhsl(339, 65%, 33%)
HSVhsv(339, 79%, 54%)
CMYKcmyk(0%, 79%, 50.7%, 45.9%)
CIE-LABlab(31.12, 47.50, 4.58)
CIE-LCHlch(31.12, 47.72, 5.50°)
OKLaboklab(42.51% 0.1453 0.0121)
OKLCHoklch(42.51% 0.146 4.8)
XYZxyz(11.9650, 6.7010, 6.1311)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D44 #1D8A63
analogous
#8A1D7A #8A1D44 #8A2C1D
triadic
#8A1D44 #448A1D #1D448A
tetradic
#8A1D44 #7A8A1D #1D8A63 #2C1D8A
square
#8A1D44 #7A8A1D #1D8A63 #2C1D8A
split-complementary
#8A1D44 #1D8A2C #1D7A8A
monochromatic
#250812 #57122B #8A1D44 #BD285D #D9497C

Accessibility & contrast

On white

8.98
#8A1D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D44
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D44#FFFFFF#000000##FFFFFF
##8A1D441.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C45
Deuteranopia (green-blind)
#555141
Tritanopia (blue-blind)
#97002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1d44;
/* rgb */ color: rgb(138, 29, 68);
/* oklch */ color: oklch(42.5% 0.146 4.8);
Tailwind
colors: {
  custom: {
    50: '#b26477',
    500: '#8a1d44',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d44;
$custom-light: #b26477;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d44",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 68
  },
  "hsl": {
    "h": 338.532,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42513,
    "c": 0.14584,
    "h": 4.8
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#8A1D44
secondary
#48BB92
accent
#E8AC40
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1D44

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

Preview Lab → · Contrast checker → · Palette generator →

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