#AF3872#AF3872

#AF3872 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.0% C 0.164 H 354.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF3872
RGBrgb(175, 56, 114)
HSLhsl(331, 52%, 45%)
HSVhsv(331, 68%, 69%)
CMYKcmyk(0%, 68%, 34.9%, 31.4%)
CIE-LABlab(43.00, 53.28, -6.58)
CIE-LCHlch(43.00, 53.69, 352.96°)
OKLaboklab(53.02% 0.1629 -0.0167)
OKLCHoklch(53.02% 0.164 354.1)
XYZxyz(22.1319, 13.1597, 17.2909)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3872 #38AF75
analogous
#AF38AD #AF3872 #AF3938
triadic
#AF3872 #72AF38 #3872AF
tetradic
#AF3872 #ADAF38 #38AF75 #3938AF
square
#AF3872 #ADAF38 #38AF75 #3938AF
split-complementary
#AF3872 #38AF39 #38ADAF
monochromatic
#521A36 #812954 #AF3872 #CA5A91 #D988B0

Accessibility & contrast

On white

5.78
#AF3872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AF3872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3872
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3872#FFFFFF#000000##FFFFFF
##AF38721.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3872;
/* rgb */ color: rgb(175, 56, 114);
/* oklch */ color: oklch(53.0% 0.164 354.1);
Tailwind
colors: {
  custom: {
    50: '#cb779a',
    500: '#af3872',
    950: '#000000',
  },
}
SCSS
$custom: #af3872;
$custom-light: #cb779a;
$custom-dark: #000000;
JSON
{
  "hex": "#af3872",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 330.756,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53018,
    "c": 0.16379,
    "h": 354.1
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#AF3872
secondary
#80C3A2
accent
#DB964D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3872

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

Preview Lab → · Contrast checker → · Palette generator →

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