#8A2048#8A2048

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

Color values

HEX#8A2048
RGBrgb(138, 32, 72)
HSLhsl(337, 62%, 33%)
HSVhsv(337, 77%, 54%)
CMYKcmyk(0%, 76.8%, 47.8%, 45.9%)
CIE-LABlab(31.59, 46.86, 2.62)
CIE-LCHlch(31.59, 46.94, 3.20°)
OKLaboklab(42.9% 0.1436 0.0072)
OKLCHoklch(42.9% 0.144 2.9)
XYZxyz(12.1684, 6.9058, 6.8218)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2048 #208A62
analogous
#8A207D #8A2048 #8A2D20
triadic
#8A2048 #488A20 #20488A
tetradic
#8A2048 #7D8A20 #208A62 #2D208A
square
#8A2048 #7D8A20 #208A62 #2D208A
split-complementary
#8A2048 #208A2D #207D8A
monochromatic
#270914 #58142E #8A2048 #BC2C62 #D64E82

Accessibility & contrast

On white

8.82
#8A2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2048
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2048#FFFFFF#000000##FFFFFF
##8A20481.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D49
Deuteranopia (green-blind)
#555246
Tritanopia (blue-blind)
#960A31
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2048;
/* rgb */ color: rgb(138, 32, 72);
/* oklch */ color: oklch(42.9% 0.144 2.9);
Tailwind
colors: {
  custom: {
    50: '#b1667a',
    500: '#8a2048',
    950: '#000000',
  },
}
SCSS
$custom: #8a2048;
$custom-light: #b1667a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2048",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 337.358,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.14378,
    "h": 2.9
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#8A2048
secondary
#4DB990
accent
#E5A842
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A2048

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

Preview Lab → · Contrast checker → · Palette generator →

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