#AF4F80#AF4F80

#AF4F80 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.4% C 0.137 H 350.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF4F80
RGBrgb(175, 79, 128)
HSLhsl(329, 38%, 50%)
HSVhsv(329, 55%, 69%)
CMYKcmyk(0%, 54.9%, 26.9%, 31.4%)
CIE-LABlab(47.32, 44.71, -8.67)
CIE-LCHlch(47.32, 45.55, 349.03°)
OKLaboklab(56.38% 0.1351 -0.0225)
OKLCHoklch(56.38% 0.137 350.5)
XYZxyz(24.3723, 16.2666, 22.2741)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F80 #4FAF7E
analogous
#AE4FAF #AF4F80 #AF4F50
triadic
#AF4F80 #80AF4F #4F80AF
tetradic
#AF4F80 #AFAE4F #4FAF7E #4F50AF
square
#AF4F80 #AFAE4F #4FAF7E #4F50AF
split-complementary
#AF4F80 #50AF4F #4FAFAE
monochromatic
#5B2942 #853C61 #AF4F80 #C2799E #D5A3BD

Accessibility & contrast

On white

4.94
#AF4F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF4F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F80
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F80#FFFFFF#000000##FFFFFF
##AF4F801.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6682
Deuteranopia (green-blind)
#74777E
Tritanopia (blue-blind)
#BA4B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4f80;
/* rgb */ color: rgb(175, 79, 128);
/* oklch */ color: oklch(56.4% 0.137 350.5);
Tailwind
colors: {
  custom: {
    50: '#ca84a4',
    500: '#af4f80',
    950: '#000000',
  },
}
SCSS
$custom: #af4f80;
$custom-light: #ca84a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f80",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 128
  },
  "hsl": {
    "h": 329.375,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56378,
    "c": 0.13696,
    "h": 350.5
  },
  "luminance": 0.16264
}

Semantic roles & 50–950 ramp

primary
#AF4F80
secondary
#97C3AC
accent
#CE935A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4F80

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

Preview Lab → · Contrast checker → · Palette generator →

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