#AF4199#AF4199

#AF4199 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.7% C 0.175 H 336.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF4199
RGBrgb(175, 65, 153)
HSLhsl(312, 46%, 47%)
HSVhsv(312, 63%, 69%)
CMYKcmyk(0%, 62.9%, 12.6%, 31.4%)
CIE-LABlab(45.90, 54.90, -25.87)
CIE-LCHlch(45.90, 60.69, 334.77°)
OKLaboklab(55.65% 0.1606 -0.0702)
OKLCHoklch(55.65% 0.175 336.4)
XYZxyz(25.3196, 15.1965, 31.7305)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4199 #41AF57
analogous
#8E41AF #AF4199 #AF4162
triadic
#AF4199 #99AF41 #4199AF
tetradic
#AF4199 #AF8E41 #41AF57 #4162AF
square
#AF4199 #AF8E41 #41AF57 #4162AF
split-complementary
#AF4199 #62AF41 #41AF8E
monochromatic
#56204B #823072 #AF4199 #C667B3 #D793C9

Accessibility & contrast

On white

5.20
#AF4199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF4199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4199
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4199#FFFFFF#000000##FFFFFF
##AF41991.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629C
Deuteranopia (green-blind)
#657396
Tritanopia (blue-blind)
#B84767
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4199;
/* rgb */ color: rgb(175, 65, 153);
/* oklch */ color: oklch(55.7% 0.175 336.4);
Tailwind
colors: {
  custom: {
    50: '#ca7db7',
    500: '#af4199',
    950: '#000000',
  },
}
SCSS
$custom: #af4199;
$custom-light: #ca7db7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4199",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 312,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55652,
    "c": 0.17525,
    "h": 336.4
  },
  "luminance": 0.15194
}

Semantic roles & 50–950 ramp

primary
#AF4199
secondary
#89C295
accent
#D56D52
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4199

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

Preview Lab → · Contrast checker → · Palette generator →

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