#A72F7F#A72F7F

#A72F7F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.176 H 344.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A72F7F
RGBrgb(167, 47, 127)
HSLhsl(320, 56%, 42%)
HSVhsv(320, 72%, 65%)
CMYKcmyk(0%, 71.9%, 24%, 34.5%)
CIE-LABlab(40.87, 56.11, -17.97)
CIE-LCHlch(40.87, 58.91, 342.24°)
OKLaboklab(51.35% 0.1693 -0.0479)
OKLCHoklch(51.35% 0.176 344.2)
XYZxyz(20.7844, 11.7830, 21.2543)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72F7F #2FA757
analogous
#932FA7 #A72F7F #A72F43
triadic
#A72F7F #7FA72F #2F7FA7
tetradic
#A72F7F #A7932F #2FA757 #2F43A7
square
#A72F7F #A7932F #2FA757 #2F43A7
split-complementary
#A72F7F #43A72F #2FA793
monochromatic
#471436 #77225B #A72F7F #CB48A0 #D978B8

Accessibility & contrast

On white

6.26
#A72F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A72F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72F7F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72F7F#FFFFFF#000000##FFFFFF
##A72F7F1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5481
Deuteranopia (green-blind)
#60687C
Tritanopia (blue-blind)
#B22E53
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a72f7f;
/* rgb */ color: rgb(167, 47, 127);
/* oklch */ color: oklch(51.4% 0.176 344.2);
Tailwind
colors: {
  custom: {
    50: '#c572a4',
    500: '#a72f7f',
    950: '#000000',
  },
}
SCSS
$custom: #a72f7f;
$custom-light: #c572a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a72f7f",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 320,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51351,
    "c": 0.17594,
    "h": 344.2
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#A72F7F
secondary
#71C18C
accent
#DF7B48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A72F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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