#AF3972#AF3972

#AF3972 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.1% C 0.162 H 354.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF3972
RGBrgb(175, 57, 114)
HSLhsl(331, 51%, 45%)
HSVhsv(331, 67%, 69%)
CMYKcmyk(0%, 67.4%, 34.9%, 31.4%)
CIE-LABlab(43.15, 52.88, -6.36)
CIE-LCHlch(43.15, 53.26, 353.14°)
OKLaboklab(53.13% 0.1617 -0.0161)
OKLCHoklch(53.13% 0.162 354.3)
XYZxyz(22.1809, 13.2576, 17.3072)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3972 #39AF76
analogous
#AF39AD #AF3972 #AF3B39
triadic
#AF3972 #72AF39 #3972AF
tetradic
#AF3972 #ADAF39 #39AF76 #3B39AF
square
#AF3972 #ADAF39 #39AF76 #3B39AF
split-complementary
#AF3972 #39AF3B #39ADAF
monochromatic
#531B36 #812A54 #AF3972 #CA5B91 #D98AB0

Accessibility & contrast

On white

5.75
#AF3972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AF3972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3972
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3972#FFFFFF#000000##FFFFFF
##AF39721.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5874
Deuteranopia (green-blind)
#6D6E6F
Tritanopia (blue-blind)
#BC3051
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3972;
/* rgb */ color: rgb(175, 57, 114);
/* oklch */ color: oklch(53.1% 0.162 354.3);
Tailwind
colors: {
  custom: {
    50: '#cb789a',
    500: '#af3972',
    950: '#000000',
  },
}
SCSS
$custom: #af3972;
$custom-light: #cb789a;
$custom-dark: #000000;
JSON
{
  "hex": "#af3972",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 331.017,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.16247,
    "h": 354.3
  },
  "luminance": 0.13255
}

Semantic roles & 50–950 ramp

primary
#AF3972
secondary
#81C3A3
accent
#DA964D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3972

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

Preview Lab → · Contrast checker → · Palette generator →

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