#AF2972#AF2972

#AF2972 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.181 H 352.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AF2972
RGBrgb(175, 41, 114)
HSLhsl(327, 62%, 42%)
HSVhsv(327, 77%, 69%)
CMYKcmyk(0%, 76.6%, 34.9%, 31.4%)
CIE-LABlab(41.08, 58.65, -9.45)
CIE-LCHlch(41.08, 59.41, 350.85°)
OKLaboklab(51.61% 0.1798 -0.0243)
OKLCHoklch(51.61% 0.181 352.3)
XYZxyz(21.5107, 11.9173, 17.0838)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2972 #29AF66
analogous
#A929AF #AF2972 #AF292F
triadic
#AF2972 #72AF29 #2972AF
tetradic
#AF2972 #AFA929 #29AF66 #292FAF
square
#AF2972 #AFA929 #29AF66 #292FAF
split-complementary
#AF2972 #2FAF29 #29AFA9
monochromatic
#4C1231 #7D1D52 #AF2972 #D34291 #DE74AE

Accessibility & contrast

On white

6.21
#AF2972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF2972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2972
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2972#FFFFFF#000000##FFFFFF
##AF29721.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425174
Deuteranopia (green-blind)
#686A6F
Tritanopia (blue-blind)
#BD1C4A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2972;
/* rgb */ color: rgb(175, 41, 114);
/* oklch */ color: oklch(51.6% 0.181 352.3);
Tailwind
colors: {
  custom: {
    50: '#cc709a',
    500: '#af2972',
    950: '#000000',
  },
}
SCSS
$custom: #af2972;
$custom-light: #cc709a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2972",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 327.313,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.18148,
    "h": 352.3
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#AF2972
secondary
#6EC696
accent
#E58D43
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2972

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

Preview Lab → · Contrast checker → · Palette generator →

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