#AF3479#AF3479

#AF3479 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.172 H 350.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF3479
RGBrgb(175, 52, 121)
HSLhsl(326, 54%, 45%)
HSVhsv(326, 70%, 69%)
CMYKcmyk(0%, 70.3%, 30.9%, 31.4%)
CIE-LABlab(42.69, 55.67, -11.36)
CIE-LCHlch(42.69, 56.82, 348.46°)
OKLaboklab(52.87% 0.1698 -0.0296)
OKLCHoklch(52.87% 0.172 350.1)
XYZxyz(22.3595, 12.9529, 19.4081)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3479 #34AF6A
analogous
#A734AF #AF3479 #AF343C
triadic
#AF3479 #79AF34 #3479AF
tetradic
#AF3479 #AFA734 #34AF6A #343CAF
square
#AF3479 #AFA734 #34AF6A #343CAF
split-complementary
#AF3479 #3CAF34 #34AFA7
monochromatic
#511838 #802658 #AF3479 #CC5497 #DA83B4

Accessibility & contrast

On white

5.85
#AF3479 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF3479 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3479
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3479#FFFFFF#000000##FFFFFF
##AF34791.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577B
Deuteranopia (green-blind)
#6A6D76
Tritanopia (blue-blind)
#BC2D52
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3479;
/* rgb */ color: rgb(175, 52, 121);
/* oklch */ color: oklch(52.9% 0.172 350.1);
Tailwind
colors: {
  custom: {
    50: '#cb759f',
    500: '#af3479',
    950: '#000000',
  },
}
SCSS
$custom: #af3479;
$custom-light: #cb759f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3479",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 326.341,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.17234,
    "h": 350.1
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#AF3479
secondary
#7BC49B
accent
#DE8B4A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3479

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

Preview Lab → · Contrast checker → · Palette generator →

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