#A02F82#A02F82

#A02F82 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.173 H 340.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A02F82
RGBrgb(160, 47, 130)
HSLhsl(316, 55%, 41%)
HSVhsv(316, 71%, 63%)
CMYKcmyk(0%, 70.6%, 18.8%, 37.3%)
CIE-LABlab(39.78, 54.67, -21.59)
CIE-LCHlch(39.78, 58.78, 338.45°)
OKLaboklab(50.37% 0.163 -0.0582)
OKLCHoklch(50.37% 0.173 340.3)
XYZxyz(19.5435, 11.1202, 22.2319)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02F82 #2FA04D
analogous
#852FA0 #A02F82 #A02F4A
triadic
#A02F82 #82A02F #2F82A0
tetradic
#A02F82 #A0852F #2FA04D #2F4AA0
square
#A02F82 #A0852F #2FA04D #2F4AA0
split-complementary
#A02F82 #4AA02F #2FA085
monochromatic
#411335 #71215C #A02F82 #C844A5 #D673BC

Accessibility & contrast

On white

6.51
#A02F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A02F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02F82
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02F82#FFFFFF#000000##FFFFFF
##A02F821.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375284
Deuteranopia (green-blind)
#5A647F
Tritanopia (blue-blind)
#A93254
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02f82;
/* rgb */ color: rgb(160, 47, 130);
/* oklch */ color: oklch(50.4% 0.173 340.3);
Tailwind
colors: {
  custom: {
    50: '#c071a6',
    500: '#a02f82',
    950: '#000000',
  },
}
SCSS
$custom: #a02f82;
$custom-light: #c071a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02f82",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 315.929,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50372,
    "c": 0.17303,
    "h": 340.3
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#A02F82
secondary
#6DBE82
accent
#DE714A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A02F82

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

Preview Lab → · Contrast checker → · Palette generator →

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