#A72F5B#A72F5B

#A72F5B is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.159 H 2.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A72F5B
RGBrgb(167, 47, 91)
HSLhsl(338, 56%, 42%)
HSVhsv(338, 72%, 65%)
CMYKcmyk(0%, 71.9%, 45.5%, 34.5%)
CIE-LABlab(39.59, 51.93, 2.62)
CIE-LCHlch(39.59, 51.99, 2.89°)
OKLaboklab(50% 0.159 0.0073)
OKLCHoklch(50% 0.159 2.6)
XYZxyz(18.8427, 11.0063, 11.0277)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72F5B #2FA77B
analogous
#A72F97 #A72F5B #A73F2F
triadic
#A72F5B #5BA72F #2F5BA7
tetradic
#A72F5B #97A72F #2FA77B #3F2FA7
square
#A72F5B #97A72F #2FA77B #3F2FA7
split-complementary
#A72F5B #2FA73F #2F97A7
monochromatic
#471427 #772241 #A72F5B #CB4878 #D9789B

Accessibility & contrast

On white

6.56
#A72F5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A72F5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72F5B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72F5B#FFFFFF#000000##FFFFFF
##A72F5B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5C
Deuteranopia (green-blind)
#696658
Tritanopia (blue-blind)
#B51C41
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a72f5b;
/* rgb */ color: rgb(167, 47, 91);
/* oklch */ color: oklch(50.0% 0.159 2.6);
Tailwind
colors: {
  custom: {
    50: '#c67189',
    500: '#a72f5b',
    950: '#000000',
  },
}
SCSS
$custom: #a72f5b;
$custom-light: #c67189;
$custom-dark: #000000;
JSON
{
  "hex": "#a72f5b",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 338,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.15915,
    "h": 2.6
  },
  "luminance": 0.11004
}

Semantic roles & 50–950 ramp

primary
#A72F5B
secondary
#71C1A4
accent
#DFA848
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A72F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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