#8A1849#8A1849

#8A1849 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.152 H 0.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#8A1849
RGBrgb(138, 24, 73)
HSLhsl(334, 70%, 32%)
HSVhsv(334, 83%, 54%)
CMYKcmyk(0%, 82.6%, 47.1%, 45.9%)
CIE-LABlab(30.73, 49.47, 0.72)
CIE-LCHlch(30.73, 49.48, 0.83°)
OKLaboklab(42.28% 0.152 0.0024)
OKLCHoklch(42.28% 0.152 0.9)
XYZxyz(12.0115, 6.5392, 6.9317)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1849 #188A59
analogous
#8A1882 #8A1849 #8A2018
triadic
#8A1849 #498A18 #18498A
tetradic
#8A1849 #828A18 #188A59 #20188A
square
#8A1849 #828A18 #188A59 #20188A
split-complementary
#8A1849 #188A20 #18828A
monochromatic
#220612 #560F2D #8A1849 #BE2165 #DE3F83

Accessibility & contrast

On white

9.10
#8A1849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A1849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1849
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1849#FFFFFF#000000##FFFFFF
##8A18491.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A4A
Deuteranopia (green-blind)
#535046
Tritanopia (blue-blind)
#96002E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1849;
/* rgb */ color: rgb(138, 24, 73);
/* oklch */ color: oklch(42.3% 0.152 0.9);
Tailwind
colors: {
  custom: {
    50: '#b1637b',
    500: '#8a1849',
    950: '#000000',
  },
}
SCSS
$custom: #8a1849;
$custom-light: #b1637b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1849",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 334.211,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42282,
    "c": 0.15206,
    "h": 0.9
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#8A1849
secondary
#40BD88
accent
#EDA03B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1849

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

Preview Lab → · Contrast checker → · Palette generator →

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