#8A2049#8A2049

#8A2049 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.144 H 2.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8A2049
RGBrgb(138, 32, 73)
HSLhsl(337, 62%, 33%)
HSVhsv(337, 77%, 54%)
CMYKcmyk(0%, 76.8%, 47.1%, 45.9%)
CIE-LABlab(31.62, 46.96, 2.01)
CIE-LCHlch(31.62, 47.00, 2.45°)
OKLaboklab(42.93% 0.144 0.0057)
OKLCHoklch(42.93% 0.144 2.3)
XYZxyz(12.2013, 6.9190, 6.9950)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2049 #208A61
analogous
#8A207E #8A2049 #8A2C20
triadic
#8A2049 #498A20 #20498A
tetradic
#8A2049 #7E8A20 #208A61 #2C208A
square
#8A2049 #7E8A20 #208A61 #2C208A
split-complementary
#8A2049 #208A2C #207E8A
monochromatic
#270914 #58142F #8A2049 #BC2C63 #D64E83

Accessibility & contrast

On white

8.81
#8A2049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A2049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2049
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2049#FFFFFF#000000##FFFFFF
##8A20491.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D4A
Deuteranopia (green-blind)
#555247
Tritanopia (blue-blind)
#960B32
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2049;
/* rgb */ color: rgb(138, 32, 73);
/* oklch */ color: oklch(42.9% 0.144 2.3);
Tailwind
colors: {
  custom: {
    50: '#b1667b',
    500: '#8a2049',
    950: '#000000',
  },
}
SCSS
$custom: #8a2049;
$custom-light: #b1667b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2049",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 73
  },
  "hsl": {
    "h": 336.792,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42934,
    "c": 0.14408,
    "h": 2.3
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#8A2049
secondary
#4DB98F
accent
#E5A642
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A2049

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

Preview Lab → · Contrast checker → · Palette generator →

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