#A02A7B#A02A7B

#A02A7B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.175 H 343.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A02A7B
RGBrgb(160, 42, 123)
HSLhsl(319, 58%, 40%)
HSVhsv(319, 74%, 63%)
CMYKcmyk(0%, 73.8%, 23.1%, 37.3%)
CIE-LABlab(38.83, 55.50, -18.73)
CIE-LCHlch(38.83, 58.58, 341.35°)
OKLaboklab(49.58% 0.1672 -0.0501)
OKLCHoklch(49.58% 0.175 343.3)
XYZxyz(18.9010, 10.5615, 19.7782)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02A7B #2AA04F
analogous
#8A2AA0 #A02A7B #A02A40
triadic
#A02A7B #7BA02A #2A7BA0
tetradic
#A02A7B #A08A2A #2AA04F #2A40A0
square
#A02A7B #A08A2A #2AA04F #2A40A0
split-complementary
#A02A7B #40A02A #2AA08A
monochromatic
#3F1130 #701D56 #A02A7B #CC3C9E #D86CB6

Accessibility & contrast

On white

6.75
#A02A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A02A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02A7B
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02A7B#FFFFFF#000000##FFFFFF
##A02A7B1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#5B6278
Tritanopia (blue-blind)
#AA2A4F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a02a7b;
/* rgb */ color: rgb(160, 42, 123);
/* oklch */ color: oklch(49.6% 0.175 343.3);
Tailwind
colors: {
  custom: {
    50: '#c06fa1',
    500: '#a02a7b',
    950: '#000000',
  },
}
SCSS
$custom: #a02a7b;
$custom-light: #c06fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02a7b",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 318.814,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.17454,
    "h": 343.3
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#A02A7B
secondary
#67BF82
accent
#E27746
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A02A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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