#AF3480#AF3480

#AF3480 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.176 H 346.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AF3480
RGBrgb(175, 52, 128)
HSLhsl(323, 54%, 45%)
HSVhsv(323, 70%, 69%)
CMYKcmyk(0%, 70.3%, 26.9%, 31.4%)
CIE-LABlab(42.96, 56.56, -15.26)
CIE-LCHlch(42.96, 58.58, 344.90°)
OKLaboklab(53.15% 0.1715 -0.0403)
OKLCHoklch(53.15% 0.176 346.8)
XYZxyz(22.8045, 13.1309, 21.7514)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3480 #34AF63
analogous
#A134AF #AF3480 #AF3442
triadic
#AF3480 #80AF34 #3480AF
tetradic
#AF3480 #AFA134 #34AF63 #3442AF
square
#AF3480 #AFA134 #34AF63 #3442AF
split-complementary
#AF3480 #42AF34 #34AFA1
monochromatic
#51183B #80265D #AF3480 #CC549E #DA83B9

Accessibility & contrast

On white

5.79
#AF3480 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3480
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3480#FFFFFF#000000##FFFFFF
##AF34801.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445882
Deuteranopia (green-blind)
#686D7D
Tritanopia (blue-blind)
#BB3155
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3480;
/* rgb */ color: rgb(175, 52, 128);
/* oklch */ color: oklch(53.2% 0.176 346.8);
Tailwind
colors: {
  custom: {
    50: '#cb75a5',
    500: '#af3480',
    950: '#000000',
  },
}
SCSS
$custom: #af3480;
$custom-light: #cb75a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3480",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 128
  },
  "hsl": {
    "h": 322.927,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53154,
    "c": 0.1762,
    "h": 346.8
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#AF3480
secondary
#7BC497
accent
#DE834A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3480

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

Preview Lab → · Contrast checker → · Palette generator →

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