#A02C7E#A02C7E

#A02C7E is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.174 H 342.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A02C7E
RGBrgb(160, 44, 126)
HSLhsl(318, 57%, 40%)
HSVhsv(318, 73%, 63%)
CMYKcmyk(0%, 72.5%, 21.2%, 37.3%)
CIE-LABlab(39.21, 55.21, -20.00)
CIE-LCHlch(39.21, 58.72, 340.08°)
OKLaboklab(49.9% 0.1656 -0.0537)
OKLCHoklch(49.9% 0.174 342)
XYZxyz(19.1644, 10.7832, 20.8067)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02C7E #2CA04E
analogous
#882CA0 #A02C7E #A02C44
triadic
#A02C7E #7EA02C #2C7EA0
tetradic
#A02C7E #A0882C #2CA04E #2C44A0
square
#A02C7E #A0882C #2CA04E #2C44A0
split-complementary
#A02C7E #44A02C #2CA088
monochromatic
#401232 #701F58 #A02C7E #CA3FA1 #D76FB9

Accessibility & contrast

On white

6.65
#A02C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A02C7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02C7E
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02C7E#FFFFFF#000000##FFFFFF
##A02C7E1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#AA2D51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02c7e;
/* rgb */ color: rgb(160, 44, 126);
/* oklch */ color: oklch(49.9% 0.174 342.0);
Tailwind
colors: {
  custom: {
    50: '#c070a3',
    500: '#a02c7e',
    950: '#000000',
  },
}
SCSS
$custom: #a02c7e;
$custom-light: #c070a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a02c7e",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 317.586,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.49899,
    "c": 0.17408,
    "h": 342
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#A02C7E
secondary
#69BF82
accent
#E07448
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A02C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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