#A02E7B#A02E7B

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

Color values

HEX#A02E7B
RGBrgb(160, 46, 123)
HSLhsl(319, 55%, 40%)
HSVhsv(319, 71%, 63%)
CMYKcmyk(0%, 71.2%, 23.1%, 37.3%)
CIE-LABlab(39.34, 54.06, -17.94)
CIE-LCHlch(39.34, 56.96, 341.64°)
OKLaboklab(49.95% 0.1628 -0.0479)
OKLCHoklch(49.95% 0.17 343.6)
XYZxyz(19.0500, 10.8596, 19.8279)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02E7B #2EA053
analogous
#8C2EA0 #A02E7B #A02E42
triadic
#A02E7B #7BA02E #2E7BA0
tetradic
#A02E7B #A08C2E #2EA053 #2E42A0
square
#A02E7B #A08C2E #2EA053 #2E42A0
split-complementary
#A02E7B #42A02E #2EA08C
monochromatic
#411332 #702056 #A02E7B #C9429D #D672B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A02E7B#FFFFFF#000000##FFFFFF
##A02E7B1.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)
#3A517D
Deuteranopia (green-blind)
#5C6478
Tritanopia (blue-blind)
#AA2E50
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02e7b;
/* rgb */ color: rgb(160, 46, 123);
/* oklch */ color: oklch(50.0% 0.170 343.6);
Tailwind
colors: {
  custom: {
    50: '#c071a1',
    500: '#a02e7b',
    950: '#000000',
  },
}
SCSS
$custom: #a02e7b;
$custom-light: #c071a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02e7b",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 319.474,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49952,
    "c": 0.1697,
    "h": 343.6
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#A02E7B
secondary
#6CBE86
accent
#DF7A49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A02E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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