#A72F7E#A72F7E

#A72F7E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.175 H 344.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A72F7E
RGBrgb(167, 47, 126)
HSLhsl(321, 56%, 42%)
HSVhsv(321, 72%, 65%)
CMYKcmyk(0%, 71.9%, 24.6%, 34.5%)
CIE-LABlab(40.83, 55.97, -17.42)
CIE-LCHlch(40.83, 58.62, 342.72°)
OKLaboklab(51.31% 0.1691 -0.0464)
OKLCHoklch(51.31% 0.175 344.7)
XYZxyz(20.7196, 11.7570, 20.9128)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72F7E #2FA758
analogous
#942FA7 #A72F7E #A72F42
triadic
#A72F7E #7EA72F #2F7EA7
tetradic
#A72F7E #A7942F #2FA758 #2F42A7
square
#A72F7E #A7942F #2FA758 #2F42A7
split-complementary
#A72F7E #42A72F #2FA794
monochromatic
#471436 #77225A #A72F7E #CB489E #D978B8

Accessibility & contrast

On white

6.27
#A72F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A72F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72F7E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72F7E#FFFFFF#000000##FFFFFF
##A72F7E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5380
Deuteranopia (green-blind)
#61687B
Tritanopia (blue-blind)
#B22E52
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a72f7e;
/* rgb */ color: rgb(167, 47, 126);
/* oklch */ color: oklch(51.3% 0.175 344.7);
Tailwind
colors: {
  custom: {
    50: '#c572a3',
    500: '#a72f7e',
    950: '#000000',
  },
}
SCSS
$custom: #a72f7e;
$custom-light: #c572a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a72f7e",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 320.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.17533,
    "h": 344.7
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#A72F7E
secondary
#71C18C
accent
#DF7C48
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A72F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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