#8A2A4A#8A2A4A

#8A2A4A is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.0% C 0.132 H 4.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8A2A4A
RGBrgb(138, 42, 74)
HSLhsl(340, 53%, 35%)
HSVhsv(340, 70%, 54%)
CMYKcmyk(0%, 69.6%, 46.4%, 45.9%)
CIE-LABlab(33.04, 43.21, 3.39)
CIE-LCHlch(33.04, 43.34, 4.49°)
OKLaboklab(43.99% 0.132 0.0092)
OKLCHoklch(43.99% 0.132 4)
XYZxyz(12.5462, 7.5552, 7.2749)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A4A #2A8A6A
analogous
#8A2A7A #8A2A4A #8A3A2A
triadic
#8A2A4A #4A8A2A #2A4A8A
tetradic
#8A2A4A #7A8A2A #2A8A6A #3A2A8A
square
#8A2A4A #7A8A2A #2A8A6A #3A2A8A
split-complementary
#8A2A4A #2A8A3A #2A7A8A
monochromatic
#2C0D18 #5B1C31 #8A2A4A #B93863 #CF6085

Accessibility & contrast

On white

8.36
#8A2A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A2A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A4A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A4A#FFFFFF#000000##FFFFFF
##8A2A4A1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424B
Deuteranopia (green-blind)
#585548
Tritanopia (blue-blind)
#961C37
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2a4a;
/* rgb */ color: rgb(138, 42, 74);
/* oklch */ color: oklch(44.0% 0.132 4.0);
Tailwind
colors: {
  custom: {
    50: '#b16a7c',
    500: '#8a2a4a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a4a;
$custom-light: #b16a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a4a",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 340,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4399,
    "c": 0.13234,
    "h": 4
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#8A2A4A
secondary
#5BB497
accent
#DDAC4B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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