#8A1D43#8A1D43

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

Color values

HEX#8A1D43
RGBrgb(138, 29, 67)
HSLhsl(339, 65%, 33%)
HSVhsv(339, 79%, 54%)
CMYKcmyk(0%, 79%, 51.4%, 45.9%)
CIE-LABlab(31.09, 47.41, 5.20)
CIE-LCHlch(31.09, 47.70, 6.26°)
OKLaboklab(42.48% 0.1449 0.0137)
OKLCHoklch(42.48% 0.146 5.4)
XYZxyz(11.9348, 6.6889, 5.9717)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D43 #1D8A64
analogous
#8A1D79 #8A1D43 #8A2E1D
triadic
#8A1D43 #438A1D #1D438A
tetradic
#8A1D43 #798A1D #1D8A64 #2E1D8A
square
#8A1D43 #798A1D #1D8A64 #2E1D8A
split-complementary
#8A1D43 #1D8A2E #1D798A
monochromatic
#250812 #57122A #8A1D43 #BD285C #D9497B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1D43#FFFFFF#000000##FFFFFF
##8A1D431.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)
#383B44
Deuteranopia (green-blind)
#555140
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1d43;
/* rgb */ color: rgb(138, 29, 67);
/* oklch */ color: oklch(42.5% 0.146 5.4);
Tailwind
colors: {
  custom: {
    50: '#b26476',
    500: '#8a1d43',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d43;
$custom-light: #b26476;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d43",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 67
  },
  "hsl": {
    "h": 339.083,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42483,
    "c": 0.14558,
    "h": 5.4
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#8A1D43
secondary
#48BB93
accent
#E8AD40
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1D43

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

Preview Lab → · Contrast checker → · Palette generator →

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