#AF3476#AF3476

#AF3476 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.171 H 351.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF3476
RGBrgb(175, 52, 118)
HSLhsl(328, 54%, 45%)
HSVhsv(328, 70%, 69%)
CMYKcmyk(0%, 70.3%, 32.6%, 31.4%)
CIE-LABlab(42.58, 55.31, -9.68)
CIE-LCHlch(42.58, 56.15, 350.08°)
OKLaboklab(52.75% 0.169 -0.025)
OKLCHoklch(52.75% 0.171 351.6)
XYZxyz(22.1784, 12.8805, 18.4542)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3476 #34AF6D
analogous
#AB34AF #AF3476 #AF3439
triadic
#AF3476 #76AF34 #3476AF
tetradic
#AF3476 #AFAB34 #34AF6D #3439AF
square
#AF3476 #AFAB34 #34AF6D #3439AF
split-complementary
#AF3476 #39AF34 #34AFAB
monochromatic
#511836 #802656 #AF3476 #CC5494 #DA83B2

Accessibility & contrast

On white

5.87
#AF3476 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF3476 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3476
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3476#FFFFFF#000000##FFFFFF
##AF34761.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485678
Deuteranopia (green-blind)
#6B6D73
Tritanopia (blue-blind)
#BC2C50
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3476;
/* rgb */ color: rgb(175, 52, 118);
/* oklch */ color: oklch(52.8% 0.171 351.6);
Tailwind
colors: {
  custom: {
    50: '#cb759d',
    500: '#af3476',
    950: '#000000',
  },
}
SCSS
$custom: #af3476;
$custom-light: #cb759d;
$custom-dark: #000000;
JSON
{
  "hex": "#af3476",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 118
  },
  "hsl": {
    "h": 327.805,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.17081,
    "h": 351.6
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#AF3476
secondary
#7BC49D
accent
#DE8F4A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3476

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

Preview Lab → · Contrast checker → · Palette generator →

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