#AF4B94#AF4B94

#AF4B94 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.6% C 0.156 H 339.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF4B94
RGBrgb(175, 75, 148)
HSLhsl(316, 40%, 49%)
HSVhsv(316, 57%, 69%)
CMYKcmyk(0%, 57.1%, 15.4%, 31.4%)
CIE-LABlab(47.35, 49.60, -20.65)
CIE-LCHlch(47.35, 53.73, 337.40°)
OKLaboklab(56.64% 0.1462 -0.0555)
OKLCHoklch(56.64% 0.156 339.2)
XYZxyz(25.5410, 16.2863, 29.8096)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B94 #4BAF66
analogous
#984BAF #AF4B94 #AF4B62
triadic
#AF4B94 #94AF4B #4B94AF
tetradic
#AF4B94 #AF984B #4BAF66 #4B62AF
square
#AF4B94 #AF984B #4BAF66 #4B62AF
split-complementary
#AF4B94 #62AF4B #4BAF98
monochromatic
#59264C #843970 #AF4B94 #C374AE #D69FC7

Accessibility & contrast

On white

4.93
#AF4B94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AF4B94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B94
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B94#FFFFFF#000000##FFFFFF
##AF4B941.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6696
Deuteranopia (green-blind)
#6C7691
Tritanopia (blue-blind)
#B84E69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4b94;
/* rgb */ color: rgb(175, 75, 148);
/* oklch */ color: oklch(56.6% 0.156 339.2);
Tailwind
colors: {
  custom: {
    50: '#c982b3',
    500: '#af4b94',
    950: '#000000',
  },
}
SCSS
$custom: #af4b94;
$custom-light: #c982b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b94",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 148
  },
  "hsl": {
    "h": 316.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56644,
    "c": 0.15642,
    "h": 339.2
  },
  "luminance": 0.16284
}

Semantic roles & 50–950 ramp

primary
#AF4B94
secondary
#93C2A0
accent
#D07858
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF4B94

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

Preview Lab → · Contrast checker → · Palette generator →

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