#AF3474#AF3474

#AF3474 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.170 H 352.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF3474
RGBrgb(175, 52, 116)
HSLhsl(329, 54%, 45%)
HSVhsv(329, 70%, 69%)
CMYKcmyk(0%, 70.3%, 33.7%, 31.4%)
CIE-LABlab(42.51, 55.07, -8.55)
CIE-LCHlch(42.51, 55.73, 351.18°)
OKLaboklab(52.68% 0.1684 -0.022)
OKLCHoklch(52.68% 0.17 352.6)
XYZxyz(22.0608, 12.8334, 17.8349)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3474 #34AF6F
analogous
#AC34AF #AF3474 #AF3437
triadic
#AF3474 #74AF34 #3474AF
tetradic
#AF3474 #AFAC34 #34AF6F #3437AF
square
#AF3474 #AFAC34 #34AF6F #3437AF
split-complementary
#AF3474 #37AF34 #34AFAC
monochromatic
#511835 #802655 #AF3474 #CC5493 #DA83B0

Accessibility & contrast

On white

5.89
#AF3474 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF3474 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3474
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3474#FFFFFF#000000##FFFFFF
##AF34741.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485676
Deuteranopia (green-blind)
#6B6D71
Tritanopia (blue-blind)
#BC2B4F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3474;
/* rgb */ color: rgb(175, 52, 116);
/* oklch */ color: oklch(52.7% 0.170 352.6);
Tailwind
colors: {
  custom: {
    50: '#cb759c',
    500: '#af3474',
    950: '#000000',
  },
}
SCSS
$custom: #af3474;
$custom-light: #cb759c;
$custom-dark: #000000;
JSON
{
  "hex": "#af3474",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 328.78,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.16984,
    "h": 352.6
  },
  "luminance": 0.12831
}

Semantic roles & 50–950 ramp

primary
#AF3474
secondary
#7BC49E
accent
#DE914A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3474

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

Preview Lab → · Contrast checker → · Palette generator →

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