#A02E7C#A02E7C

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

Color values

HEX#A02E7C
RGBrgb(160, 46, 124)
HSLhsl(319, 55%, 40%)
HSVhsv(319, 71%, 63%)
CMYKcmyk(0%, 71.2%, 22.5%, 37.3%)
CIE-LABlab(39.39, 54.20, -18.50)
CIE-LCHlch(39.39, 57.27, 341.16°)
OKLaboklab(50% 0.163 -0.0495)
OKLCHoklch(50% 0.17 343.1)
XYZxyz(19.1129, 10.8847, 20.1593)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02E7C #2EA052
analogous
#8B2EA0 #A02E7C #A02E43
triadic
#A02E7C #7CA02E #2E7CA0
tetradic
#A02E7C #A08B2E #2EA052 #2E43A0
square
#A02E7C #A08B2E #2EA052 #2E43A0
split-complementary
#A02E7C #43A02E #2EA08B
monochromatic
#411332 #702057 #A02E7C #C9429E #D672B7

Accessibility & contrast

On white

6.61
#A02E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A02E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02E7C
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02E7C#FFFFFF#000000##FFFFFF
##A02E7C1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517E
Deuteranopia (green-blind)
#5C6479
Tritanopia (blue-blind)
#AA2E51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02e7c;
/* rgb */ color: rgb(160, 46, 124);
/* oklch */ color: oklch(50.0% 0.170 343.1);
Tailwind
colors: {
  custom: {
    50: '#c071a2',
    500: '#a02e7c',
    950: '#000000',
  },
}
SCSS
$custom: #a02e7c;
$custom-light: #c071a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02e7c",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 318.947,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49997,
    "c": 0.17033,
    "h": 343.1
  },
  "luminance": 0.10883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A02E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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