#A02A7F#A02A7F

#A02A7F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.177 H 341.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A02A7F
RGBrgb(160, 42, 127)
HSLhsl(317, 58%, 40%)
HSVhsv(317, 74%, 63%)
CMYKcmyk(0%, 73.8%, 20.6%, 37.3%)
CIE-LABlab(39.01, 56.05, -20.94)
CIE-LCHlch(39.01, 59.83, 339.52°)
OKLaboklab(49.77% 0.1679 -0.0563)
OKLCHoklch(49.77% 0.177 341.5)
XYZxyz(19.1565, 10.6637, 21.1240)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02A7F #2AA04B
analogous
#862AA0 #A02A7F #A02A44
triadic
#A02A7F #7FA02A #2A7FA0
tetradic
#A02A7F #A0862A #2AA04B #2A44A0
square
#A02A7F #A0862A #2AA04B #2A44A0
split-complementary
#A02A7F #44A02A #2AA086
monochromatic
#3F1132 #701D59 #A02A7F #CC3CA3 #D86CBA

Accessibility & contrast

On white

6.70
#A02A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02A7F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02A7F#FFFFFF#000000##FFFFFF
##A02A7F1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#59637C
Tritanopia (blue-blind)
#AA2C51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02a7f;
/* rgb */ color: rgb(160, 42, 127);
/* oklch */ color: oklch(49.8% 0.177 341.5);
Tailwind
colors: {
  custom: {
    50: '#c06fa4',
    500: '#a02a7f',
    950: '#000000',
  },
}
SCSS
$custom: #a02a7f;
$custom-light: #c06fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02a7f",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 316.78,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49765,
    "c": 0.1771,
    "h": 341.5
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#A02A7F
secondary
#67BF7F
accent
#E27246
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A02A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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