#A02C7D#A02C7D

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

Color values

HEX#A02C7D
RGBrgb(160, 44, 125)
HSLhsl(318, 57%, 40%)
HSVhsv(318, 73%, 63%)
CMYKcmyk(0%, 72.5%, 21.9%, 37.3%)
CIE-LABlab(39.17, 55.07, -19.45)
CIE-LCHlch(39.17, 58.40, 340.55°)
OKLaboklab(49.85% 0.1654 -0.0521)
OKLCHoklch(49.85% 0.173 342.5)
XYZxyz(19.1002, 10.7575, 20.4686)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02C7D #2CA04F
analogous
#892CA0 #A02C7D #A02C43
triadic
#A02C7D #7DA02C #2C7DA0
tetradic
#A02C7D #A0892C #2CA04F #2C43A0
square
#A02C7D #A0892C #2CA04F #2C43A0
split-complementary
#A02C7D #43A02C #2CA089
monochromatic
#401232 #701F58 #A02C7D #CA3FA0 #D76FB8

Accessibility & contrast

On white

6.66
#A02C7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A02C7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02C7D
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02C7D#FFFFFF#000000##FFFFFF
##A02C7D1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#5B637A
Tritanopia (blue-blind)
#AA2D51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02c7d;
/* rgb */ color: rgb(160, 44, 125);
/* oklch */ color: oklch(49.9% 0.173 342.5);
Tailwind
colors: {
  custom: {
    50: '#c070a2',
    500: '#a02c7d',
    950: '#000000',
  },
}
SCSS
$custom: #a02c7d;
$custom-light: #c070a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02c7d",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 318.103,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.49853,
    "c": 0.17344,
    "h": 342.5
  },
  "luminance": 0.10756
}

Semantic roles & 50–950 ramp

primary
#A02C7D
secondary
#69BF83
accent
#E07648
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A02C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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