#A02A7E#A02A7E

#A02A7E is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.176 H 341.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A02A7E
RGBrgb(160, 42, 126)
HSLhsl(317, 58%, 40%)
HSVhsv(317, 74%, 63%)
CMYKcmyk(0%, 73.8%, 21.2%, 37.3%)
CIE-LABlab(38.96, 55.91, -20.39)
CIE-LCHlch(38.96, 59.51, 339.97°)
OKLaboklab(49.72% 0.1677 -0.0547)
OKLCHoklch(49.72% 0.176 341.9)
XYZxyz(19.0917, 10.6378, 20.7825)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02A7E #2AA04C
analogous
#872AA0 #A02A7E #A02A43
triadic
#A02A7E #7EA02A #2A7EA0
tetradic
#A02A7E #A0872A #2AA04C #2A43A0
square
#A02A7E #A0872A #2AA04C #2A43A0
split-complementary
#A02A7E #43A02A #2AA087
monochromatic
#3F1132 #701D58 #A02A7E #CC3CA2 #D86CB9

Accessibility & contrast

On white

6.72
#A02A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A02A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02A7E
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02A7E#FFFFFF#000000##FFFFFF
##A02A7E1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F80
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#AA2C50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02a7e;
/* rgb */ color: rgb(160, 42, 126);
/* oklch */ color: oklch(49.7% 0.176 341.9);
Tailwind
colors: {
  custom: {
    50: '#c06fa3',
    500: '#a02a7e',
    950: '#000000',
  },
}
SCSS
$custom: #a02a7e;
$custom-light: #c06fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a02a7e",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 317.288,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49718,
    "c": 0.17645,
    "h": 341.9
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#A02A7E
secondary
#67BF80
accent
#E27346
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A02A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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