#AF4A93#AF4A93

#AF4A93 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.5% C 0.157 H 339.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF4A93
RGBrgb(175, 74, 147)
HSLhsl(317, 41%, 49%)
HSVhsv(317, 58%, 69%)
CMYKcmyk(0%, 57.7%, 16%, 31.4%)
CIE-LABlab(47.13, 49.92, -20.38)
CIE-LCHlch(47.13, 53.92, 337.79°)
OKLaboklab(56.47% 0.1474 -0.0548)
OKLCHoklch(56.47% 0.157 339.6)
XYZxyz(25.3949, 16.1202, 29.3721)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A93 #4AAF66
analogous
#994AAF #AF4A93 #AF4A61
triadic
#AF4A93 #93AF4A #4A93AF
tetradic
#AF4A93 #AF994A #4AAF66 #4A61AF
square
#AF4A93 #AF994A #4AAF66 #4A61AF
split-complementary
#AF4A93 #61AF4A #4AAF99
monochromatic
#59264B #84386F #AF4A93 #C473AD #D69EC6

Accessibility & contrast

On white

4.97
#AF4A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF4A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A93
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A93#FFFFFF#000000##FFFFFF
##AF4A931.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6695
Deuteranopia (green-blind)
#6C7690
Tritanopia (blue-blind)
#B84C68
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4a93;
/* rgb */ color: rgb(175, 74, 147);
/* oklch */ color: oklch(56.5% 0.157 339.6);
Tailwind
colors: {
  custom: {
    50: '#c982b3',
    500: '#af4a93',
    950: '#000000',
  },
}
SCSS
$custom: #af4a93;
$custom-light: #c982b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a93",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 147
  },
  "hsl": {
    "h": 316.634,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56471,
    "c": 0.15727,
    "h": 339.6
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#AF4A93
secondary
#92C2A0
accent
#D07957
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF4A93

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

Preview Lab → · Contrast checker → · Palette generator →

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