#AF3471#AF3471

#AF3471 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.168 H 354.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AF3471
RGBrgb(175, 52, 113)
HSLhsl(330, 54%, 45%)
HSVhsv(330, 70%, 69%)
CMYKcmyk(0%, 70.3%, 35.4%, 31.4%)
CIE-LABlab(42.41, 54.73, -6.85)
CIE-LCHlch(42.41, 55.15, 352.87°)
OKLaboklab(52.57% 0.1675 -0.0174)
OKLCHoklch(52.57% 0.168 354.1)
XYZxyz(21.8891, 12.7647, 16.9307)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3471 #34AF72
analogous
#AF34AF #AF3471 #AF3534
triadic
#AF3471 #71AF34 #3471AF
tetradic
#AF3471 #AFAF34 #34AF72 #3534AF
square
#AF3471 #AFAF34 #34AF72 #3534AF
split-complementary
#AF3471 #34AF35 #34AFAF
monochromatic
#511834 #802653 #AF3471 #CC5490 #DA83AE

Accessibility & contrast

On white

5.91
#AF3471 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF3471 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3471
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3471#FFFFFF#000000##FFFFFF
##AF34711.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#6C6C6E
Tritanopia (blue-blind)
#BD2A4E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3471;
/* rgb */ color: rgb(175, 52, 113);
/* oklch */ color: oklch(52.6% 0.168 354.1);
Tailwind
colors: {
  custom: {
    50: '#cb7599',
    500: '#af3471',
    950: '#000000',
  },
}
SCSS
$custom: #af3471;
$custom-light: #cb7599;
$custom-dark: #000000;
JSON
{
  "hex": "#af3471",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 330.244,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.16843,
    "h": 354.1
  },
  "luminance": 0.12762
}

Semantic roles & 50–950 ramp

primary
#AF3471
secondary
#7BC4A0
accent
#DE944A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3471

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

Preview Lab → · Contrast checker → · Palette generator →

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