#8A2A52#8A2A52

#8A2A52 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.3% C 0.135 H 358.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8A2A52
RGBrgb(138, 42, 82)
HSLhsl(335, 53%, 35%)
HSVhsv(335, 70%, 54%)
CMYKcmyk(0%, 69.6%, 40.6%, 45.9%)
CIE-LABlab(33.29, 44.07, -1.45)
CIE-LCHlch(33.29, 44.09, 358.12°)
OKLaboklab(44.25% 0.1349 -0.0032)
OKLCHoklch(44.25% 0.135 358.6)
XYZxyz(12.8330, 7.6699, 8.7857)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A52 #2A8A62
analogous
#8A2A82 #8A2A52 #8A322A
triadic
#8A2A52 #528A2A #2A528A
tetradic
#8A2A52 #828A2A #2A8A62 #322A8A
square
#8A2A52 #828A2A #2A8A62 #322A8A
split-complementary
#8A2A52 #2A8A32 #2A828A
monochromatic
#2C0D1A #5B1C36 #8A2A52 #B9386E #CF608E

Accessibility & contrast

On white

8.29
#8A2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A52
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A52#FFFFFF#000000##FFFFFF
##8A2A521.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4353
Deuteranopia (green-blind)
#565550
Tritanopia (blue-blind)
#95203A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2a52;
/* rgb */ color: rgb(138, 42, 82);
/* oklch */ color: oklch(44.3% 0.135 358.6);
Tailwind
colors: {
  custom: {
    50: '#b06b82',
    500: '#8a2a52',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a52;
$custom-light: #b06b82;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a52",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 335,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.13499,
    "h": 358.6
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#8A2A52
secondary
#5BB48F
accent
#DDA04B
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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