#AF4197#AF4197

#AF4197 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.6% C 0.174 H 337.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF4197
RGBrgb(175, 65, 151)
HSLhsl(313, 46%, 47%)
HSVhsv(313, 63%, 69%)
CMYKcmyk(0%, 62.9%, 13.7%, 31.4%)
CIE-LABlab(45.81, 54.59, -24.81)
CIE-LCHlch(45.81, 59.96, 335.56°)
OKLaboklab(55.56% 0.1602 -0.0672)
OKLCHoklch(55.56% 0.174 337.2)
XYZxyz(25.1558, 15.1310, 30.8678)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4197 #41AF59
analogous
#9041AF #AF4197 #AF4160
triadic
#AF4197 #97AF41 #4197AF
tetradic
#AF4197 #AF9041 #41AF59 #4160AF
square
#AF4197 #AF9041 #41AF59 #4160AF
split-complementary
#AF4197 #60AF41 #41AF90
monochromatic
#56204A #823070 #AF4197 #C667B2 #D793C8

Accessibility & contrast

On white

5.22
#AF4197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF4197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4197
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4197#FFFFFF#000000##FFFFFF
##AF41971.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629A
Deuteranopia (green-blind)
#667394
Tritanopia (blue-blind)
#B84666
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4197;
/* rgb */ color: rgb(175, 65, 151);
/* oklch */ color: oklch(55.6% 0.174 337.2);
Tailwind
colors: {
  custom: {
    50: '#ca7db6',
    500: '#af4197',
    950: '#000000',
  },
}
SCSS
$custom: #af4197;
$custom-light: #ca7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4197",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 313.091,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.17376,
    "h": 337.2
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#AF4197
secondary
#89C296
accent
#D56F52
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4197

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

Preview Lab → · Contrast checker → · Palette generator →

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