#AF3481#AF3481

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

Color values

HEX#AF3481
RGBrgb(175, 52, 129)
HSLhsl(322, 54%, 45%)
HSVhsv(322, 70%, 69%)
CMYKcmyk(0%, 70.3%, 26.3%, 31.4%)
CIE-LABlab(43.00, 56.69, -15.81)
CIE-LCHlch(43.00, 58.85, 344.41°)
OKLaboklab(53.2% 0.1718 -0.0418)
OKLCHoklch(53.2% 0.177 346.3)
XYZxyz(22.8706, 13.1573, 22.0998)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3481 #34AF62
analogous
#A034AF #AF3481 #AF3444
triadic
#AF3481 #81AF34 #3481AF
tetradic
#AF3481 #AFA034 #34AF62 #3444AF
square
#AF3481 #AFA034 #34AF62 #3444AF
split-complementary
#AF3481 #44AF34 #34AFA0
monochromatic
#51183B #80265E #AF3481 #CC549F #DA83BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3481#FFFFFF#000000##FFFFFF
##AF34811.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)
#435883
Deuteranopia (green-blind)
#676D7E
Tritanopia (blue-blind)
#BB3156
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3481;
/* rgb */ color: rgb(175, 52, 129);
/* oklch */ color: oklch(53.2% 0.177 346.3);
Tailwind
colors: {
  custom: {
    50: '#cb76a5',
    500: '#af3481',
    950: '#000000',
  },
}
SCSS
$custom: #af3481;
$custom-light: #cb76a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3481",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 129
  },
  "hsl": {
    "h": 322.439,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.17678,
    "h": 346.3
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

primary
#AF3481
secondary
#7BC496
accent
#DE814A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3481

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

Preview Lab → · Contrast checker → · Palette generator →

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