#AF4174#AF4174

#AF4174 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.1% C 0.152 H 354.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF4174
RGBrgb(175, 65, 116)
HSLhsl(332, 46%, 47%)
HSVhsv(332, 63%, 69%)
CMYKcmyk(0%, 62.9%, 33.7%, 31.4%)
CIE-LABlab(44.46, 49.73, -5.64)
CIE-LCHlch(44.46, 50.04, 353.53°)
OKLaboklab(54.12% 0.1517 -0.0143)
OKLCHoklch(54.12% 0.152 354.6)
XYZxyz(22.7231, 14.1579, 18.0557)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4174 #41AF7C
analogous
#AF41AB #AF4174 #AF4541
triadic
#AF4174 #74AF41 #4174AF
tetradic
#AF4174 #ABAF41 #41AF7C #4541AF
square
#AF4174 #ABAF41 #41AF7C #4541AF
split-complementary
#AF4174 #41AF45 #41ABAF
monochromatic
#562039 #823056 #AF4174 #C66793 #D793B3

Accessibility & contrast

On white

5.48
#AF4174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF4174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4174
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4174#FFFFFF#000000##FFFFFF
##AF41741.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525C75
Deuteranopia (green-blind)
#707171
Tritanopia (blue-blind)
#BC3955
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4174;
/* rgb */ color: rgb(175, 65, 116);
/* oklch */ color: oklch(54.1% 0.152 354.6);
Tailwind
colors: {
  custom: {
    50: '#cb7c9c',
    500: '#af4174',
    950: '#000000',
  },
}
SCSS
$custom: #af4174;
$custom-light: #cb7c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4174",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 332.182,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54116,
    "c": 0.15233,
    "h": 354.6
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#AF4174
secondary
#89C2A8
accent
#D59952
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4174

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

Preview Lab → · Contrast checker → · Palette generator →

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