#AF3A7A#AF3A7A

#AF3A7A is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.5% C 0.165 H 350.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF3A7A
RGBrgb(175, 58, 122)
HSLhsl(327, 50%, 46%)
HSVhsv(327, 67%, 69%)
CMYKcmyk(0%, 66.9%, 30.3%, 31.4%)
CIE-LABlab(43.58, 53.45, -10.64)
CIE-LCHlch(43.58, 54.50, 348.74°)
OKLaboklab(53.53% 0.1627 -0.0277)
OKLCHoklch(53.53% 0.165 350.3)
XYZxyz(22.7062, 13.5476, 19.8278)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A7A #3AAF6F
analogous
#A93AAF #AF3A7A #AF3A40
triadic
#AF3A7A #7AAF3A #3A7AAF
tetradic
#AF3A7A #AFA93A #3AAF6F #3A40AF
square
#AF3A7A #AFA93A #3AAF6F #3A40AF
split-complementary
#AF3A7A #40AF3A #3AAFA9
monochromatic
#531C3A #812B5A #AF3A7A #C95D98 #D98BB5

Accessibility & contrast

On white

5.66
#AF3A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF3A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A7A
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A7A#FFFFFF#000000##FFFFFF
##AF3A7A1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7C
Deuteranopia (green-blind)
#6C6F77
Tritanopia (blue-blind)
#BC3455
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3a7a;
/* rgb */ color: rgb(175, 58, 122);
/* oklch */ color: oklch(53.5% 0.165 350.3);
Tailwind
colors: {
  custom: {
    50: '#cb78a0',
    500: '#af3a7a',
    950: '#000000',
  },
}
SCSS
$custom: #af3a7a;
$custom-light: #cb78a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a7a",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 122
  },
  "hsl": {
    "h": 327.179,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53533,
    "c": 0.16506,
    "h": 350.3
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#AF3A7A
secondary
#82C39F
accent
#DA8D4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AF3A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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