#A02E7D#A02E7D

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

Color values

HEX#A02E7D
RGBrgb(160, 46, 125)
HSLhsl(318, 55%, 40%)
HSVhsv(318, 71%, 63%)
CMYKcmyk(0%, 71.2%, 21.9%, 37.3%)
CIE-LABlab(39.43, 54.34, -19.05)
CIE-LCHlch(39.43, 57.58, 340.68°)
OKLaboklab(50.04% 0.1632 -0.051)
OKLCHoklch(50.04% 0.171 342.6)
XYZxyz(19.1765, 10.9102, 20.4940)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02E7D #2EA051
analogous
#8A2EA0 #A02E7D #A02E44
triadic
#A02E7D #7DA02E #2E7DA0
tetradic
#A02E7D #A08A2E #2EA051 #2E44A0
square
#A02E7D #A08A2E #2EA051 #2E44A0
split-complementary
#A02E7D #44A02E #2EA08A
monochromatic
#411333 #702058 #A02E7D #C942A0 #D672B8

Accessibility & contrast

On white

6.60
#A02E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02E7D
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02E7D#FFFFFF#000000##FFFFFF
##A02E7D1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#AA2F51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02e7d;
/* rgb */ color: rgb(160, 46, 125);
/* oklch */ color: oklch(50.0% 0.171 342.6);
Tailwind
colors: {
  custom: {
    50: '#c071a2',
    500: '#a02e7d',
    950: '#000000',
  },
}
SCSS
$custom: #a02e7d;
$custom-light: #c071a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02e7d",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 318.421,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50042,
    "c": 0.17098,
    "h": 342.6
  },
  "luminance": 0.10908
}

Semantic roles & 50–950 ramp

primary
#A02E7D
secondary
#6CBE85
accent
#DF7749
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A02E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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