#A02A7A#A02A7A

#A02A7A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.174 H 343.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A02A7A
RGBrgb(160, 42, 122)
HSLhsl(319, 58%, 40%)
HSVhsv(319, 74%, 63%)
CMYKcmyk(0%, 73.8%, 23.7%, 37.3%)
CIE-LABlab(38.79, 55.37, -18.17)
CIE-LCHlch(38.79, 58.27, 341.83°)
OKLaboklab(49.53% 0.167 -0.0485)
OKLCHoklch(49.53% 0.174 343.8)
XYZxyz(18.8387, 10.5366, 19.4502)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02A7A #2AA050
analogous
#8B2AA0 #A02A7A #A02A3F
triadic
#A02A7A #7AA02A #2A7AA0
tetradic
#A02A7A #A08B2A #2AA050 #2A3FA0
square
#A02A7A #A08B2A #2AA050 #2A3FA0
split-complementary
#A02A7A #3FA02A #2AA08B
monochromatic
#3F1130 #701D55 #A02A7A #CC3C9D #D86CB5

Accessibility & contrast

On white

6.76
#A02A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A02A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02A7A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02A7A#FFFFFF#000000##FFFFFF
##A02A7A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#5B6277
Tritanopia (blue-blind)
#AB2A4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a02a7a;
/* rgb */ color: rgb(160, 42, 122);
/* oklch */ color: oklch(49.5% 0.174 343.8);
Tailwind
colors: {
  custom: {
    50: '#c06fa0',
    500: '#a02a7a',
    950: '#000000',
  },
}
SCSS
$custom: #a02a7a;
$custom-light: #c06fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a02a7a",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 319.322,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49534,
    "c": 0.17392,
    "h": 343.8
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#A02A7A
secondary
#67BF83
accent
#E27846
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A02A7A

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

Preview Lab → · Contrast checker → · Palette generator →

#A02A7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva