#A02E7F#A02E7F

#A02E7F is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.172 H 341.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A02E7F
RGBrgb(160, 46, 127)
HSLhsl(317, 55%, 40%)
HSVhsv(317, 71%, 63%)
CMYKcmyk(0%, 71.2%, 20.6%, 37.3%)
CIE-LABlab(39.52, 54.62, -20.15)
CIE-LCHlch(39.52, 58.22, 339.75°)
OKLaboklab(50.13% 0.1636 -0.0541)
OKLCHoklch(50.13% 0.172 341.7)
XYZxyz(19.3056, 10.9618, 21.1737)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02E7F #2EA04F
analogous
#882EA0 #A02E7F #A02E46
triadic
#A02E7F #7FA02E #2E7FA0
tetradic
#A02E7F #A0882E #2EA04F #2E46A0
square
#A02E7F #A0882E #2EA04F #2E46A0
split-complementary
#A02E7F #46A02E #2EA088
monochromatic
#411334 #702059 #A02E7F #C942A2 #D672B9

Accessibility & contrast

On white

6.58
#A02E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A02E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02E7F
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02E7F#FFFFFF#000000##FFFFFF
##A02E7F1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#AA3052
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02e7f;
/* rgb */ color: rgb(160, 46, 127);
/* oklch */ color: oklch(50.1% 0.172 341.7);
Tailwind
colors: {
  custom: {
    50: '#c071a4',
    500: '#a02e7f',
    950: '#000000',
  },
}
SCSS
$custom: #a02e7f;
$custom-light: #c071a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02e7f",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 317.368,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50134,
    "c": 0.17228,
    "h": 341.7
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#A02E7F
secondary
#6CBE84
accent
#DF7449
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A02E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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