#AF4176#AF4176

#AF4176 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.2% C 0.153 H 353.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AF4176
RGBrgb(175, 65, 118)
HSLhsl(331, 46%, 47%)
HSVhsv(331, 63%, 69%)
CMYKcmyk(0%, 62.9%, 32.6%, 31.4%)
CIE-LABlab(44.53, 49.97, -6.77)
CIE-LCHlch(44.53, 50.43, 352.29°)
OKLaboklab(54.19% 0.1523 -0.0173)
OKLCHoklch(54.19% 0.153 353.5)
XYZxyz(22.8407, 14.2050, 18.6750)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4176 #41AF7A
analogous
#AF41AD #AF4176 #AF4341
triadic
#AF4176 #76AF41 #4176AF
tetradic
#AF4176 #ADAF41 #41AF7A #4341AF
square
#AF4176 #ADAF41 #41AF7A #4341AF
split-complementary
#AF4176 #41AF43 #41ADAF
monochromatic
#56203A #823058 #AF4176 #C66795 #D793B4

Accessibility & contrast

On white

5.47
#AF4176 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF4176 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4176
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4176#FFFFFF#000000##FFFFFF
##AF41761.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525D78
Deuteranopia (green-blind)
#707173
Tritanopia (blue-blind)
#BC3A56
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4176;
/* rgb */ color: rgb(175, 65, 118);
/* oklch */ color: oklch(54.2% 0.153 353.5);
Tailwind
colors: {
  custom: {
    50: '#cb7c9d',
    500: '#af4176',
    950: '#000000',
  },
}
SCSS
$custom: #af4176;
$custom-light: #cb7c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4176",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 118
  },
  "hsl": {
    "h": 331.091,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54187,
    "c": 0.15327,
    "h": 353.5
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#AF4176
secondary
#89C2A7
accent
#D59652
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4176

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

Preview Lab → · Contrast checker → · Palette generator →

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