#AF4B96#AF4B96

#AF4B96 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.7% C 0.158 H 338.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AF4B96
RGBrgb(175, 75, 150)
HSLhsl(315, 40%, 49%)
HSVhsv(315, 57%, 69%)
CMYKcmyk(0%, 57.1%, 14.3%, 31.4%)
CIE-LABlab(47.43, 49.92, -21.71)
CIE-LCHlch(47.43, 54.43, 336.49°)
OKLaboklab(56.73% 0.1467 -0.0585)
OKLCHoklch(56.73% 0.158 338.2)
XYZxyz(25.7006, 16.3501, 30.6505)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B96 #4BAF64
analogous
#964BAF #AF4B96 #AF4B64
triadic
#AF4B96 #96AF4B #4B96AF
tetradic
#AF4B96 #AF964B #4BAF64 #4B64AF
square
#AF4B96 #AF964B #4BAF64 #4B64AF
split-complementary
#AF4B96 #64AF4B #4BAF96
monochromatic
#59264D #843971 #AF4B96 #C374AF #D69FC8

Accessibility & contrast

On white

4.92
#AF4B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AF4B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B96
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B96#FFFFFF#000000##FFFFFF
##AF4B961.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6798
Deuteranopia (green-blind)
#6C7693
Tritanopia (blue-blind)
#B84E6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4b96;
/* rgb */ color: rgb(175, 75, 150);
/* oklch */ color: oklch(56.7% 0.158 338.2);
Tailwind
colors: {
  custom: {
    50: '#c982b5',
    500: '#af4b96',
    950: '#000000',
  },
}
SCSS
$custom: #af4b96;
$custom-light: #c982b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b96",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 150
  },
  "hsl": {
    "h": 315,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.15791,
    "h": 338.2
  },
  "luminance": 0.16348
}

Semantic roles & 50–950 ramp

primary
#AF4B96
secondary
#93C29F
accent
#D07658
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF4B96

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

Preview Lab → · Contrast checker → · Palette generator →

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