#A02A7D#A02A7D

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

Color values

HEX#A02A7D
RGBrgb(160, 42, 125)
HSLhsl(318, 58%, 40%)
HSVhsv(318, 74%, 63%)
CMYKcmyk(0%, 73.8%, 21.9%, 37.3%)
CIE-LABlab(38.92, 55.77, -19.84)
CIE-LCHlch(38.92, 59.20, 340.42°)
OKLaboklab(49.67% 0.1676 -0.0532)
OKLCHoklch(49.67% 0.176 342.4)
XYZxyz(19.0275, 10.6121, 20.4443)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02A7D #2AA04D
analogous
#882AA0 #A02A7D #A02A42
triadic
#A02A7D #7DA02A #2A7DA0
tetradic
#A02A7D #A0882A #2AA04D #2A42A0
square
#A02A7D #A0882A #2AA04D #2A42A0
split-complementary
#A02A7D #42A02A #2AA088
monochromatic
#3F1131 #701D57 #A02A7D #CC3CA1 #D86CB8

Accessibility & contrast

On white

6.73
#A02A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A02A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02A7D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02A7D#FFFFFF#000000##FFFFFF
##A02A7D1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#5A637A
Tritanopia (blue-blind)
#AA2B50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02a7d;
/* rgb */ color: rgb(160, 42, 125);
/* oklch */ color: oklch(49.7% 0.176 342.4);
Tailwind
colors: {
  custom: {
    50: '#c06fa3',
    500: '#a02a7d',
    950: '#000000',
  },
}
SCSS
$custom: #a02a7d;
$custom-light: #c06fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a02a7d",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 317.797,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.17581,
    "h": 342.4
  },
  "luminance": 0.1061
}

Semantic roles & 50–950 ramp

primary
#A02A7D
secondary
#67BF81
accent
#E27446
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A02A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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