#AF3F72#AF3F72

#AF3F72 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.8% C 0.154 H 355.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF3F72
RGBrgb(175, 63, 114)
HSLhsl(333, 47%, 47%)
HSVhsv(333, 64%, 69%)
CMYKcmyk(0%, 64%, 34.9%, 31.4%)
CIE-LABlab(44.07, 50.36, -4.99)
CIE-LCHlch(44.07, 50.61, 354.34°)
OKLaboklab(53.81% 0.1538 -0.0125)
OKLCHoklch(53.81% 0.154 355.3)
XYZxyz(22.4952, 13.8863, 17.4120)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F72 #3FAF7C
analogous
#AF3FAA #AF3F72 #AF443F
triadic
#AF3F72 #72AF3F #3F72AF
tetradic
#AF3F72 #AAAF3F #3FAF7C #443FAF
square
#AF3F72 #AAAF3F #3FAF7C #443FAF
split-complementary
#AF3F72 #3FAF44 #3FAAAF
monochromatic
#551F37 #822F55 #AF3F72 #C76491 #D791B1

Accessibility & contrast

On white

5.56
#AF3F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF3F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F72
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F72#FFFFFF#000000##FFFFFF
##AF3F721.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B73
Deuteranopia (green-blind)
#70706F
Tritanopia (blue-blind)
#BC3653
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3f72;
/* rgb */ color: rgb(175, 63, 114);
/* oklch */ color: oklch(53.8% 0.154 355.3);
Tailwind
colors: {
  custom: {
    50: '#cb7b9a',
    500: '#af3f72',
    950: '#000000',
  },
}
SCSS
$custom: #af3f72;
$custom-light: #cb7b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f72",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 114
  },
  "hsl": {
    "h": 332.679,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53806,
    "c": 0.15428,
    "h": 355.3
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#AF3F72
secondary
#87C3A8
accent
#D79A51
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3F72

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

Preview Lab → · Contrast checker → · Palette generator →

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