#A02F78#A02F78

#A02F78 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.167 H 345.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A02F78
RGBrgb(160, 47, 120)
HSLhsl(321, 55%, 41%)
HSVhsv(321, 71%, 63%)
CMYKcmyk(0%, 70.6%, 25%, 37.3%)
CIE-LABlab(39.35, 53.28, -16.07)
CIE-LCHlch(39.35, 55.65, 343.22°)
OKLaboklab(49.92% 0.161 -0.0427)
OKLCHoklch(49.92% 0.167 345.2)
XYZxyz(18.9046, 10.8646, 18.8672)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02F78 #2FA057
analogous
#8F2FA0 #A02F78 #A02F3F
triadic
#A02F78 #78A02F #2F78A0
tetradic
#A02F78 #A08F2F #2FA057 #2F3FA0
square
#A02F78 #A08F2F #2FA057 #2F3FA0
split-complementary
#A02F78 #3FA02F #2FA08F
monochromatic
#411331 #712155 #A02F78 #C84499 #D673B3

Accessibility & contrast

On white

6.62
#A02F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A02F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02F78
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02F78#FFFFFF#000000##FFFFFF
##A02F781.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C507A
Deuteranopia (green-blind)
#5E6475
Tritanopia (blue-blind)
#AB2D4F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02f78;
/* rgb */ color: rgb(160, 47, 120);
/* oklch */ color: oklch(49.9% 0.167 345.2);
Tailwind
colors: {
  custom: {
    50: '#c0719f',
    500: '#a02f78',
    950: '#000000',
  },
}
SCSS
$custom: #a02f78;
$custom-light: #c0719f;
$custom-dark: #000000;
JSON
{
  "hex": "#a02f78",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 321.239,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49917,
    "c": 0.16657,
    "h": 345.2
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#A02F78
secondary
#6DBE8A
accent
#DE7E4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A02F78

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

Preview Lab → · Contrast checker → · Palette generator →

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