#AF3980#AF3980

#AF3980 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.170 H 347.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF3980
RGBrgb(175, 57, 128)
HSLhsl(324, 51%, 45%)
HSVhsv(324, 67%, 69%)
CMYKcmyk(0%, 67.4%, 26.9%, 31.4%)
CIE-LABlab(43.66, 54.62, -14.20)
CIE-LCHlch(43.66, 56.44, 345.43°)
OKLaboklab(53.66% 0.1655 -0.0374)
OKLCHoklch(53.66% 0.17 347.3)
XYZxyz(23.0396, 13.6011, 21.8298)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3980 #39AF68
analogous
#A339AF #AF3980 #AF3945
triadic
#AF3980 #80AF39 #3980AF
tetradic
#AF3980 #AFA339 #39AF68 #3945AF
square
#AF3980 #AFA339 #39AF68 #3945AF
split-complementary
#AF3980 #45AF39 #39AFA3
monochromatic
#531B3C #812A5E #AF3980 #CA5B9E #D98AB9

Accessibility & contrast

On white

5.65
#AF3980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF3980 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3980
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3980#FFFFFF#000000##FFFFFF
##AF39801.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A82
Deuteranopia (green-blind)
#6A6F7D
Tritanopia (blue-blind)
#BB3657
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3980;
/* rgb */ color: rgb(175, 57, 128);
/* oklch */ color: oklch(53.7% 0.170 347.3);
Tailwind
colors: {
  custom: {
    50: '#cb78a5',
    500: '#af3980',
    950: '#000000',
  },
}
SCSS
$custom: #af3980;
$custom-light: #cb78a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3980",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 128
  },
  "hsl": {
    "h": 323.898,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53664,
    "c": 0.16972,
    "h": 347.3
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#AF3980
secondary
#81C39B
accent
#DA864D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3980

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

Preview Lab → · Contrast checker → · Palette generator →

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