#AF4175#AF4175

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

Color values

HEX#AF4175
RGBrgb(175, 65, 117)
HSLhsl(332, 46%, 47%)
HSVhsv(332, 63%, 69%)
CMYKcmyk(0%, 62.9%, 33.1%, 31.4%)
CIE-LABlab(44.49, 49.85, -6.20)
CIE-LCHlch(44.49, 50.23, 352.91°)
OKLaboklab(54.15% 0.152 -0.0158)
OKLCHoklch(54.15% 0.153 354.1)
XYZxyz(22.7816, 14.1813, 18.3637)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4175 #41AF7B
analogous
#AF41AC #AF4175 #AF4441
triadic
#AF4175 #75AF41 #4175AF
tetradic
#AF4175 #ACAF41 #41AF7B #4441AF
square
#AF4175 #ACAF41 #41AF7B #4441AF
split-complementary
#AF4175 #41AF44 #41ACAF
monochromatic
#562039 #823057 #AF4175 #C66794 #D793B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4175#FFFFFF#000000##FFFFFF
##AF41751.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)
#525D77
Deuteranopia (green-blind)
#707172
Tritanopia (blue-blind)
#BC3A56
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4175;
/* rgb */ color: rgb(175, 65, 117);
/* oklch */ color: oklch(54.2% 0.153 354.1);
Tailwind
colors: {
  custom: {
    50: '#cb7c9c',
    500: '#af4175',
    950: '#000000',
  },
}
SCSS
$custom: #af4175;
$custom-light: #cb7c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4175",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 117
  },
  "hsl": {
    "h": 331.636,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54151,
    "c": 0.15279,
    "h": 354.1
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4175

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

Preview Lab → · Contrast checker → · Palette generator →

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