#AF4B99#AF4B99

#AF4B99 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.9% C 0.160 H 336.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AF4B99
RGBrgb(175, 75, 153)
HSLhsl(313, 40%, 49%)
HSVhsv(313, 57%, 69%)
CMYKcmyk(0%, 57.1%, 12.6%, 31.4%)
CIE-LABlab(47.56, 50.40, -23.31)
CIE-LCHlch(47.56, 55.52, 335.18°)
OKLaboklab(56.87% 0.1473 -0.063)
OKLCHoklch(56.87% 0.16 336.8)
XYZxyz(25.9453, 16.4480, 31.9391)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B99 #4BAF61
analogous
#934BAF #AF4B99 #AF4B67
triadic
#AF4B99 #99AF4B #4B99AF
tetradic
#AF4B99 #AF934B #4BAF61 #4B67AF
square
#AF4B99 #AF934B #4BAF61 #4B67AF
split-complementary
#AF4B99 #67AF4B #4BAF93
monochromatic
#59264E #843974 #AF4B99 #C374B2 #D69FCA

Accessibility & contrast

On white

4.90
#AF4B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AF4B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B99
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B99#FFFFFF#000000##FFFFFF
##AF4B991.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D679B
Deuteranopia (green-blind)
#6A7696
Tritanopia (blue-blind)
#B74F6B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4b99;
/* rgb */ color: rgb(175, 75, 153);
/* oklch */ color: oklch(56.9% 0.160 336.8);
Tailwind
colors: {
  custom: {
    50: '#c982b7',
    500: '#af4b99',
    950: '#000000',
  },
}
SCSS
$custom: #af4b99;
$custom-light: #c982b7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b99",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 313.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56867,
    "c": 0.1602,
    "h": 336.8
  },
  "luminance": 0.16446
}

Semantic roles & 50–950 ramp

primary
#AF4B99
secondary
#93C29E
accent
#D07258
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF4B99

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

Preview Lab → · Contrast checker → · Palette generator →

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