#AF3477#AF3477

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

Color values

HEX#AF3477
RGBrgb(175, 52, 119)
HSLhsl(327, 54%, 45%)
HSVhsv(327, 70%, 69%)
CMYKcmyk(0%, 70.3%, 32%, 31.4%)
CIE-LABlab(42.62, 55.43, -10.24)
CIE-LCHlch(42.62, 56.37, 349.53°)
OKLaboklab(52.79% 0.1693 -0.0266)
OKLCHoklch(52.79% 0.171 351.1)
XYZxyz(22.2381, 12.9044, 18.7689)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3477 #34AF6C
analogous
#AA34AF #AF3477 #AF343A
triadic
#AF3477 #77AF34 #3477AF
tetradic
#AF3477 #AFAA34 #34AF6C #343AAF
square
#AF3477 #AFAA34 #34AF6C #343AAF
split-complementary
#AF3477 #3AAF34 #34AFAA
monochromatic
#511837 #802657 #AF3477 #CC5495 #DA83B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3477#FFFFFF#000000##FFFFFF
##AF34771.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)
#475779
Deuteranopia (green-blind)
#6A6D74
Tritanopia (blue-blind)
#BC2C51
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3477;
/* rgb */ color: rgb(175, 52, 119);
/* oklch */ color: oklch(52.8% 0.171 351.1);
Tailwind
colors: {
  custom: {
    50: '#cb759e',
    500: '#af3477',
    950: '#000000',
  },
}
SCSS
$custom: #af3477;
$custom-light: #cb759e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3477",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 119
  },
  "hsl": {
    "h": 327.317,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.17132,
    "h": 351.1
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#AF3477
secondary
#7BC49C
accent
#DE8D4A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3477

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

Preview Lab → · Contrast checker → · Palette generator →

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