#AF4170#AF4170

#AF4170 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.0% C 0.151 H 356.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF4170
RGBrgb(175, 65, 112)
HSLhsl(334, 46%, 47%)
HSVhsv(334, 63%, 69%)
CMYKcmyk(0%, 62.9%, 36%, 31.4%)
CIE-LABlab(44.33, 49.24, -3.38)
CIE-LCHlch(44.33, 49.36, 356.08°)
OKLaboklab(53.98% 0.1504 -0.0082)
OKLCHoklch(53.98% 0.151 356.9)
XYZxyz(22.4954, 14.0669, 16.8566)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4170 #41AF80
analogous
#AF41A7 #AF4170 #AF4941
triadic
#AF4170 #70AF41 #4170AF
tetradic
#AF4170 #A7AF41 #41AF80 #4941AF
square
#AF4170 #A7AF41 #41AF80 #4941AF
split-complementary
#AF4170 #41AF49 #41A7AF
monochromatic
#562037 #823053 #AF4170 #C66790 #D793B0

Accessibility & contrast

On white

5.51
#AF4170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF4170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4170
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4170#FFFFFF#000000##FFFFFF
##AF41701.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C71
Deuteranopia (green-blind)
#71706D
Tritanopia (blue-blind)
#BC3854
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4170;
/* rgb */ color: rgb(175, 65, 112);
/* oklch */ color: oklch(54.0% 0.151 356.9);
Tailwind
colors: {
  custom: {
    50: '#cb7c99',
    500: '#af4170',
    950: '#000000',
  },
}
SCSS
$custom: #af4170;
$custom-light: #cb7c99;
$custom-dark: #000000;
JSON
{
  "hex": "#af4170",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 334.364,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53977,
    "c": 0.1506,
    "h": 356.9
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#AF4170
secondary
#89C2AA
accent
#D59D52
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF4170

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

Preview Lab → · Contrast checker → · Palette generator →

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