#AF4B97#AF4B97

#AF4B97 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.8% C 0.159 H 337.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF4B97
RGBrgb(175, 75, 151)
HSLhsl(314, 40%, 49%)
HSVhsv(314, 57%, 69%)
CMYKcmyk(0%, 57.1%, 13.7%, 31.4%)
CIE-LABlab(47.47, 50.08, -22.25)
CIE-LCHlch(47.47, 54.79, 336.05°)
OKLaboklab(56.78% 0.1469 -0.06)
OKLCHoklch(56.78% 0.159 337.8)
XYZxyz(25.7815, 16.3825, 31.0764)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B97 #4BAF63
analogous
#954BAF #AF4B97 #AF4B65
triadic
#AF4B97 #97AF4B #4B97AF
tetradic
#AF4B97 #AF954B #4BAF63 #4B65AF
square
#AF4B97 #AF954B #4BAF63 #4B65AF
split-complementary
#AF4B97 #65AF4B #4BAF95
monochromatic
#59264D #843972 #AF4B97 #C374B0 #D69FC9

Accessibility & contrast

On white

4.91
#AF4B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AF4B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B97
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B97#FFFFFF#000000##FFFFFF
##AF4B971.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6799
Deuteranopia (green-blind)
#6B7694
Tritanopia (blue-blind)
#B84F6A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4b97;
/* rgb */ color: rgb(175, 75, 151);
/* oklch */ color: oklch(56.8% 0.159 337.8);
Tailwind
colors: {
  custom: {
    50: '#c982b5',
    500: '#af4b97',
    950: '#000000',
  },
}
SCSS
$custom: #af4b97;
$custom-light: #c982b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b97",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 314.4,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56777,
    "c": 0.15867,
    "h": 337.8
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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