#8A2A56#8A2A56

#8A2A56 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.4% C 0.137 H 356.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8A2A56
RGBrgb(138, 42, 86)
HSLhsl(333, 53%, 35%)
HSVhsv(333, 70%, 54%)
CMYKcmyk(0%, 69.6%, 37.7%, 45.9%)
CIE-LABlab(33.42, 44.53, -3.84)
CIE-LCHlch(33.42, 44.70, 355.07°)
OKLaboklab(44.4% 0.1363 -0.0095)
OKLCHoklch(44.4% 0.137 356)
XYZxyz(12.9897, 7.7326, 9.6108)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A56 #2A8A5E
analogous
#8A2A86 #8A2A56 #8A2E2A
triadic
#8A2A56 #568A2A #2A568A
tetradic
#8A2A56 #868A2A #2A8A5E #2E2A8A
square
#8A2A56 #868A2A #2A8A5E #2E2A8A
split-complementary
#8A2A56 #2A8A2E #2A868A
monochromatic
#2C0D1C #5B1C39 #8A2A56 #B93873 #CF6093

Accessibility & contrast

On white

8.25
#8A2A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A2A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A56
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A56#FFFFFF#000000##FFFFFF
##8A2A561.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#565554
Tritanopia (blue-blind)
#95213C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2a56;
/* rgb */ color: rgb(138, 42, 86);
/* oklch */ color: oklch(44.4% 0.137 356.0);
Tailwind
colors: {
  custom: {
    50: '#b06b85',
    500: '#8a2a56',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a56;
$custom-light: #b06b85;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a56",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 332.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44397,
    "c": 0.13664,
    "h": 356
  },
  "luminance": 0.07731
}

Semantic roles & 50–950 ramp

primary
#8A2A56
secondary
#5BB48C
accent
#DD9A4B
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2A56

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

Preview Lab → · Contrast checker → · Palette generator →

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