#AF4994#AF4994

#AF4994 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.4% C 0.160 H 339.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AF4994
RGBrgb(175, 73, 148)
HSLhsl(316, 41%, 49%)
HSVhsv(316, 58%, 69%)
CMYKcmyk(0%, 58.3%, 15.4%, 31.4%)
CIE-LABlab(47.00, 50.54, -21.18)
CIE-LCHlch(47.00, 54.80, 337.26°)
OKLaboklab(56.39% 0.149 -0.057)
OKLCHoklch(56.39% 0.16 339.1)
XYZxyz(25.4074, 16.0192, 29.7651)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4994 #49AF64
analogous
#9749AF #AF4994 #AF4961
triadic
#AF4994 #94AF49 #4994AF
tetradic
#AF4994 #AF9749 #49AF64 #4961AF
square
#AF4994 #AF9749 #49AF64 #4961AF
split-complementary
#AF4994 #61AF49 #49AF97
monochromatic
#59254B #84376F #AF4994 #C471AE #D69CC7

Accessibility & contrast

On white

5.00
#AF4994 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AF4994 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4994
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4994#FFFFFF#000000##FFFFFF
##AF49941.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6596
Deuteranopia (green-blind)
#6B7591
Tritanopia (blue-blind)
#B84C68
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4994;
/* rgb */ color: rgb(175, 73, 148);
/* oklch */ color: oklch(56.4% 0.160 339.1);
Tailwind
colors: {
  custom: {
    50: '#ca81b3',
    500: '#af4994',
    950: '#000000',
  },
}
SCSS
$custom: #af4994;
$custom-light: #ca81b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4994",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 148
  },
  "hsl": {
    "h": 315.882,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.15956,
    "h": 339.1
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#AF4994
secondary
#91C29E
accent
#D17757
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF4994

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

Preview Lab → · Contrast checker → · Palette generator →

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