#A02A7C#A02A7C

#A02A7C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.175 H 342.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A02A7C
RGBrgb(160, 42, 124)
HSLhsl(318, 58%, 40%)
HSVhsv(318, 74%, 63%)
CMYKcmyk(0%, 73.8%, 22.5%, 37.3%)
CIE-LABlab(38.88, 55.64, -19.28)
CIE-LCHlch(38.88, 58.88, 340.88°)
OKLaboklab(49.63% 0.1674 -0.0516)
OKLCHoklch(49.63% 0.175 342.9)
XYZxyz(18.9639, 10.5867, 20.1096)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02A7C #2AA04E
analogous
#892AA0 #A02A7C #A02A41
triadic
#A02A7C #7CA02A #2A7CA0
tetradic
#A02A7C #A0892A #2AA04E #2A41A0
square
#A02A7C #A0892A #2AA04E #2A41A0
split-complementary
#A02A7C #41A02A #2AA089
monochromatic
#3F1131 #701D56 #A02A7C #CC3CA0 #D86CB7

Accessibility & contrast

On white

6.74
#A02A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02A7C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02A7C#FFFFFF#000000##FFFFFF
##A02A7C1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7E
Deuteranopia (green-blind)
#5A6379
Tritanopia (blue-blind)
#AA2B4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02a7c;
/* rgb */ color: rgb(160, 42, 124);
/* oklch */ color: oklch(49.6% 0.175 342.9);
Tailwind
colors: {
  custom: {
    50: '#c06fa2',
    500: '#a02a7c',
    950: '#000000',
  },
}
SCSS
$custom: #a02a7c;
$custom-light: #c06fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02a7c",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 318.305,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49625,
    "c": 0.17517,
    "h": 342.9
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#A02A7C
secondary
#67BF82
accent
#E27646
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A02A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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