#AF4476#AF4476

#AF4476 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.6% C 0.149 H 354.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AF4476
RGBrgb(175, 68, 118)
HSLhsl(332, 44%, 48%)
HSVhsv(332, 61%, 69%)
CMYKcmyk(0%, 61.1%, 32.6%, 31.4%)
CIE-LABlab(45.02, 48.62, -6.02)
CIE-LCHlch(45.02, 49.00, 352.94°)
OKLaboklab(54.56% 0.1481 -0.0153)
OKLCHoklch(54.56% 0.149 354.1)
XYZxyz(23.0175, 14.5586, 18.7339)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4476 #44AF7D
analogous
#AF44AB #AF4476 #AF4844
triadic
#AF4476 #76AF44 #4476AF
tetradic
#AF4476 #ABAF44 #44AF7D #4844AF
square
#AF4476 #ABAF44 #44AF7D #4844AF
split-complementary
#AF4476 #44AF48 #44ABAF
monochromatic
#57223B #833358 #AF4476 #C56B95 #D797B5

Accessibility & contrast

On white

5.37
#AF4476 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AF4476 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4476
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4476#FFFFFF#000000##FFFFFF
##AF44761.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545E77
Deuteranopia (green-blind)
#717273
Tritanopia (blue-blind)
#BC3D58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4476;
/* rgb */ color: rgb(175, 68, 118);
/* oklch */ color: oklch(54.6% 0.149 354.1);
Tailwind
colors: {
  custom: {
    50: '#ca7e9d',
    500: '#af4476',
    950: '#000000',
  },
}
SCSS
$custom: #af4476;
$custom-light: #ca7e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4476",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 118
  },
  "hsl": {
    "h": 331.963,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54557,
    "c": 0.14889,
    "h": 354.1
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#AF4476
secondary
#8CC2A9
accent
#D49854
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4476

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

Preview Lab → · Contrast checker → · Palette generator →

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