#8A2A72#8A2A72

#8A2A72 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.153 H 339.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8A2A72
RGBrgb(138, 42, 114)
HSLhsl(315, 53%, 35%)
HSVhsv(315, 70%, 54%)
CMYKcmyk(0%, 69.6%, 17.4%, 45.9%)
CIE-LABlab(34.55, 48.33, -20.03)
CIE-LCHlch(34.55, 52.32, 337.49°)
OKLaboklab(45.6% 0.1434 -0.0541)
OKLCHoklch(45.6% 0.153 339.3)
XYZxyz(14.3468, 8.2754, 16.7581)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A72 #2A8A42
analogous
#722A8A #8A2A72 #8A2A42
triadic
#8A2A72 #728A2A #2A728A
tetradic
#8A2A72 #8A722A #2A8A42 #2A428A
square
#8A2A72 #8A722A #2A8A42 #2A428A
split-complementary
#8A2A72 #428A2A #2A8A72
monochromatic
#2C0D24 #5B1C4B #8A2A72 #B93899 #CF60B3

Accessibility & contrast

On white

7.91
#8A2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A72
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A72#FFFFFF#000000##FFFFFF
##8A2A721.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4874
Deuteranopia (green-blind)
#4D5770
Tritanopia (blue-blind)
#922D4A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2a72;
/* rgb */ color: rgb(138, 42, 114);
/* oklch */ color: oklch(45.6% 0.153 339.3);
Tailwind
colors: {
  custom: {
    50: '#af6c9a',
    500: '#8a2a72',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a72;
$custom-light: #af6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a72",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 315,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45595,
    "c": 0.15326,
    "h": 339.3
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#8A2A72
secondary
#5BB472
accent
#DD6F4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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