#A02F7C#A02F7C

#A02F7C is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.169 H 343.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A02F7C
RGBrgb(160, 47, 124)
HSLhsl(319, 55%, 41%)
HSVhsv(319, 71%, 63%)
CMYKcmyk(0%, 70.6%, 22.5%, 37.3%)
CIE-LABlab(39.52, 53.83, -18.29)
CIE-LCHlch(39.52, 56.85, 341.23°)
OKLaboklab(50.09% 0.1619 -0.0489)
OKLCHoklch(50.09% 0.169 343.2)
XYZxyz(19.1525, 10.9638, 20.1724)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02F7C #2FA053
analogous
#8B2FA0 #A02F7C #A02F43
triadic
#A02F7C #7CA02F #2F7CA0
tetradic
#A02F7C #A08B2F #2FA053 #2F43A0
square
#A02F7C #A08B2F #2FA053 #2F43A0
split-complementary
#A02F7C #43A02F #2FA08B
monochromatic
#411333 #712157 #A02F7C #C8449E #D673B7

Accessibility & contrast

On white

6.58
#A02F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A02F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02F7C
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02F7C#FFFFFF#000000##FFFFFF
##A02F7C1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#5C6479
Tritanopia (blue-blind)
#AA2F51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02f7c;
/* rgb */ color: rgb(160, 47, 124);
/* oklch */ color: oklch(50.1% 0.169 343.2);
Tailwind
colors: {
  custom: {
    50: '#c071a2',
    500: '#a02f7c',
    950: '#000000',
  },
}
SCSS
$custom: #a02f7c;
$custom-light: #c071a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02f7c",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 319.115,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50094,
    "c": 0.16908,
    "h": 343.2
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#A02F7C
secondary
#6DBE87
accent
#DE794A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A02F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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