#AF2472#AF2472

#AF2472 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.186 H 351.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AF2472
RGBrgb(175, 36, 114)
HSLhsl(326, 66%, 41%)
HSVhsv(326, 79%, 69%)
CMYKcmyk(0%, 79.4%, 34.9%, 31.4%)
CIE-LABlab(40.56, 60.13, -10.24)
CIE-LCHlch(40.56, 61.00, 350.34°)
OKLaboklab(51.23% 0.1845 -0.0264)
OKLCHoklch(51.23% 0.186 351.8)
XYZxyz(21.3487, 11.5932, 17.0298)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2472 #24AF61
analogous
#A724AF #AF2472 #AF242D
triadic
#AF2472 #72AF24 #2472AF
tetradic
#AF2472 #AFA724 #24AF61 #242DAF
square
#AF2472 #AFA724 #24AF61 #242DAF
split-complementary
#AF2472 #2DAF24 #24AFA7
monochromatic
#490F30 #7C1A51 #AF2472 #D63A92 #E16DAE

Accessibility & contrast

On white

6.33
#AF2472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF2472 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2472
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2472#FFFFFF#000000##FFFFFF
##AF24721.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5074
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#BD1548
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2472;
/* rgb */ color: rgb(175, 36, 114);
/* oklch */ color: oklch(51.2% 0.186 351.8);
Tailwind
colors: {
  custom: {
    50: '#cc6e9a',
    500: '#af2472',
    950: '#000000',
  },
}
SCSS
$custom: #af2472;
$custom-light: #cc6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2472",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 326.331,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.18643,
    "h": 351.8
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#AF2472
secondary
#68C792
accent
#E98A3F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2472

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

Preview Lab → · Contrast checker → · Palette generator →

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