#AF4497#AF4497

#AF4497 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.9% C 0.169 H 337.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AF4497
RGBrgb(175, 68, 151)
HSLhsl(313, 44%, 48%)
HSVhsv(313, 61%, 69%)
CMYKcmyk(0%, 61.1%, 13.7%, 31.4%)
CIE-LABlab(46.29, 53.28, -24.07)
CIE-LCHlch(46.29, 58.46, 335.69°)
OKLaboklab(55.91% 0.1564 -0.0651)
OKLCHoklch(55.91% 0.169 337.4)
XYZxyz(25.3326, 15.4846, 30.9268)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4497 #44AF5C
analogous
#9144AF #AF4497 #AF4461
triadic
#AF4497 #97AF44 #4497AF
tetradic
#AF4497 #AF9144 #44AF5C #4461AF
square
#AF4497 #AF9144 #44AF5C #4461AF
split-complementary
#AF4497 #61AF44 #44AF91
monochromatic
#57224B #833371 #AF4497 #C56BB1 #D797C8

Accessibility & contrast

On white

5.13
#AF4497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF4497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4497
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4497#FFFFFF#000000##FFFFFF
##AF44971.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47639A
Deuteranopia (green-blind)
#677494
Tritanopia (blue-blind)
#B84967
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4497;
/* rgb */ color: rgb(175, 68, 151);
/* oklch */ color: oklch(55.9% 0.169 337.4);
Tailwind
colors: {
  custom: {
    50: '#ca7eb6',
    500: '#af4497',
    950: '#000000',
  },
}
SCSS
$custom: #af4497;
$custom-light: #ca7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4497",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 313.458,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55908,
    "c": 0.16938,
    "h": 337.4
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#AF4497
secondary
#8CC299
accent
#D47154
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4497

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

Preview Lab → · Contrast checker → · Palette generator →

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