#AF3F71#AF3F71

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

Color values

HEX#AF3F71
RGBrgb(175, 63, 113)
HSLhsl(333, 47%, 47%)
HSVhsv(333, 64%, 69%)
CMYKcmyk(0%, 64%, 35.4%, 31.4%)
CIE-LABlab(44.04, 50.24, -4.42)
CIE-LCHlch(44.04, 50.44, 354.97°)
OKLaboklab(53.77% 0.1535 -0.011)
OKLCHoklch(53.77% 0.154 355.9)
XYZxyz(22.4386, 13.8637, 17.1139)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F71 #3FAF7D
analogous
#AF3FA9 #AF3F71 #AF453F
triadic
#AF3F71 #71AF3F #3F71AF
tetradic
#AF3F71 #A9AF3F #3FAF7D #453FAF
square
#AF3F71 #A9AF3F #3FAF7D #453FAF
split-complementary
#AF3F71 #3FAF45 #3FA9AF
monochromatic
#551F37 #822F54 #AF3F71 #C76490 #D791B0

Accessibility & contrast

On white

5.57
#AF3F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF3F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F71
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F71#FFFFFF#000000##FFFFFF
##AF3F711.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B72
Deuteranopia (green-blind)
#70706E
Tritanopia (blue-blind)
#BC3653
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3f71;
/* rgb */ color: rgb(175, 63, 113);
/* oklch */ color: oklch(53.8% 0.154 355.9);
Tailwind
colors: {
  custom: {
    50: '#cb7b99',
    500: '#af3f71',
    950: '#000000',
  },
}
SCSS
$custom: #af3f71;
$custom-light: #cb7b99;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f71",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 333.214,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53771,
    "c": 0.15384,
    "h": 355.9
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3F71

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

Preview Lab → · Contrast checker → · Palette generator →

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