#A02F8D#A02F8D

#A02F8D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.181 H 335.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A02F8D
RGBrgb(160, 47, 141)
HSLhsl(310, 55%, 41%)
HSVhsv(310, 71%, 63%)
CMYKcmyk(0%, 70.6%, 11.9%, 37.3%)
CIE-LABlab(40.30, 56.32, -27.54)
CIE-LCHlch(40.30, 62.69, 333.94°)
OKLaboklab(50.91% 0.1645 -0.0751)
OKLCHoklch(50.91% 0.181 335.5)
XYZxyz(20.3217, 11.4315, 26.3303)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02F8D #2FA042
analogous
#7A2FA0 #A02F8D #A02F55
triadic
#A02F8D #8DA02F #2F8DA0
tetradic
#A02F8D #A07A2F #2FA042 #2F55A0
square
#A02F8D #A07A2F #2FA042 #2F55A0
split-complementary
#A02F8D #55A02F #2FA07A
monochromatic
#41133A #712163 #A02F8D #C844B2 #D673C5

Accessibility & contrast

On white

6.39
#A02F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A02F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02F8D
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02F8D#FFFFFF#000000##FFFFFF
##A02F8D1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#A8375A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a02f8d;
/* rgb */ color: rgb(160, 47, 141);
/* oklch */ color: oklch(50.9% 0.181 335.5);
Tailwind
colors: {
  custom: {
    50: '#bf72ae',
    500: '#a02f8d',
    950: '#000000',
  },
}
SCSS
$custom: #a02f8d;
$custom-light: #bf72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a02f8d",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 310.088,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.18081,
    "h": 335.5
  },
  "luminance": 0.1143
}

Semantic roles & 50–950 ramp

primary
#A02F8D
secondary
#6DBE7B
accent
#DE634A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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