#A02A78#A02A78

#A02A78 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.173 H 344.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A02A78
RGBrgb(160, 42, 120)
HSLhsl(320, 58%, 40%)
HSVhsv(320, 74%, 63%)
CMYKcmyk(0%, 73.8%, 25%, 37.3%)
CIE-LABlab(38.70, 55.10, -17.06)
CIE-LCHlch(38.70, 57.68, 342.80°)
OKLaboklab(49.44% 0.1666 -0.0454)
OKLCHoklch(49.44% 0.173 344.8)
XYZxyz(18.7161, 10.4876, 18.8043)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02A78 #2AA052
analogous
#8D2AA0 #A02A78 #A02A3D
triadic
#A02A78 #78A02A #2A78A0
tetradic
#A02A78 #A08D2A #2AA052 #2A3DA0
square
#A02A78 #A08D2A #2AA052 #2A3DA0
split-complementary
#A02A78 #3DA02A #2AA08D
monochromatic
#3F112F #701D54 #A02A78 #CC3C9B #D86CB4

Accessibility & contrast

On white

6.78
#A02A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A02A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02A78
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02A78#FFFFFF#000000##FFFFFF
##A02A781.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E7A
Deuteranopia (green-blind)
#5C6275
Tritanopia (blue-blind)
#AB294D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a02a78;
/* rgb */ color: rgb(160, 42, 120);
/* oklch */ color: oklch(49.4% 0.173 344.8);
Tailwind
colors: {
  custom: {
    50: '#c06f9f',
    500: '#a02a78',
    950: '#000000',
  },
}
SCSS
$custom: #a02a78;
$custom-light: #c06f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a02a78",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 320.339,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.17269,
    "h": 344.8
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#A02A78
secondary
#67BF85
accent
#E27B46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A02A78

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

Preview Lab → · Contrast checker → · Palette generator →

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