#AF4280#AF4280

#AF4280 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.7% C 0.157 H 348.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AF4280
RGBrgb(175, 66, 128)
HSLhsl(326, 45%, 47%)
HSVhsv(326, 62%, 69%)
CMYKcmyk(0%, 62.3%, 26.9%, 31.4%)
CIE-LABlab(45.04, 50.82, -12.10)
CIE-LCHlch(45.04, 52.24, 346.61°)
OKLaboklab(54.68% 0.1538 -0.0317)
OKLCHoklch(54.68% 0.157 348.3)
XYZxyz(23.5246, 14.5712, 21.9915)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4280 #42AF71
analogous
#A842AF #AF4280 #AF4249
triadic
#AF4280 #80AF42 #4280AF
tetradic
#AF4280 #AFA842 #42AF71 #4249AF
square
#AF4280 #AFA842 #42AF71 #4249AF
split-complementary
#AF4280 #49AF42 #42AFA8
monochromatic
#56203F #83315F #AF4280 #C6689E #D795BA

Accessibility & contrast

On white

5.37
#AF4280 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AF4280 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4280
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4280#FFFFFF#000000##FFFFFF
##AF42801.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F82
Deuteranopia (green-blind)
#6E727D
Tritanopia (blue-blind)
#BB3F5B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4280;
/* rgb */ color: rgb(175, 66, 128);
/* oklch */ color: oklch(54.7% 0.157 348.3);
Tailwind
colors: {
  custom: {
    50: '#ca7da4',
    500: '#af4280',
    950: '#000000',
  },
}
SCSS
$custom: #af4280;
$custom-light: #ca7da4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4280",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 128
  },
  "hsl": {
    "h": 325.872,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54685,
    "c": 0.15706,
    "h": 348.3
  },
  "luminance": 0.14569
}

Semantic roles & 50–950 ramp

primary
#AF4280
secondary
#8AC2A3
accent
#D58B53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4280

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

Preview Lab → · Contrast checker → · Palette generator →

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