#AF4479#AF4479

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

Color values

HEX#AF4479
RGBrgb(175, 68, 121)
HSLhsl(330, 44%, 48%)
HSVhsv(330, 61%, 69%)
CMYKcmyk(0%, 61.1%, 30.9%, 31.4%)
CIE-LABlab(45.12, 49.00, -7.71)
CIE-LCHlch(45.12, 49.61, 351.06°)
OKLaboklab(54.67% 0.149 -0.0198)
OKLCHoklch(54.67% 0.15 352.4)
XYZxyz(23.1986, 14.6311, 19.6878)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4479 #44AF7A
analogous
#AF44AF #AF4479 #AF4444
triadic
#AF4479 #79AF44 #4479AF
tetradic
#AF4479 #AFAF44 #44AF7A #4444AF
square
#AF4479 #AFAF44 #44AF7A #4444AF
split-complementary
#AF4479 #44AF44 #44AFAF
monochromatic
#57223C #83335B #AF4479 #C56B98 #D797B6

Accessibility & contrast

On white

5.35
#AF4479 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF4479 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4479
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4479#FFFFFF#000000##FFFFFF
##AF44791.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7B
Deuteranopia (green-blind)
#717276
Tritanopia (blue-blind)
#BB3E59
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4479;
/* rgb */ color: rgb(175, 68, 121);
/* oklch */ color: oklch(54.7% 0.150 352.4);
Tailwind
colors: {
  custom: {
    50: '#ca7e9f',
    500: '#af4479',
    950: '#000000',
  },
}
SCSS
$custom: #af4479;
$custom-light: #ca7e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4479",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 121
  },
  "hsl": {
    "h": 330.28,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54665,
    "c": 0.15034,
    "h": 352.4
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#AF4479
secondary
#8CC2A8
accent
#D49454
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4479

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

Preview Lab → · Contrast checker → · Palette generator →

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