#AF3A84#AF3A84

#AF3A84 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.9% C 0.171 H 345.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF3A84
RGBrgb(175, 58, 132)
HSLhsl(322, 50%, 46%)
HSVhsv(322, 67%, 69%)
CMYKcmyk(0%, 66.9%, 24.6%, 31.4%)
CIE-LABlab(43.96, 54.75, -16.19)
CIE-LCHlch(43.96, 57.09, 343.53°)
OKLaboklab(53.94% 0.1653 -0.0429)
OKLCHoklch(53.94% 0.171 345.4)
XYZxyz(23.3580, 13.8084, 23.2605)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A84 #3AAF65
analogous
#9F3AAF #AF3A84 #AF3A49
triadic
#AF3A84 #84AF3A #3A84AF
tetradic
#AF3A84 #AF9F3A #3AAF65 #3A49AF
square
#AF3A84 #AF9F3A #3AAF65 #3A49AF
split-complementary
#AF3A84 #49AF3A #3AAF9F
monochromatic
#531C3F #812B61 #AF3A84 #C95DA1 #D98BBC

Accessibility & contrast

On white

5.58
#AF3A84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AF3A84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A84
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A84#FFFFFF#000000##FFFFFF
##AF3A841.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B86
Deuteranopia (green-blind)
#696F81
Tritanopia (blue-blind)
#BA385A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3a84;
/* rgb */ color: rgb(175, 58, 132);
/* oklch */ color: oklch(53.9% 0.171 345.4);
Tailwind
colors: {
  custom: {
    50: '#ca79a8',
    500: '#af3a84',
    950: '#000000',
  },
}
SCSS
$custom: #af3a84;
$custom-light: #ca79a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a84",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 132
  },
  "hsl": {
    "h": 322.051,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.17074,
    "h": 345.4
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#AF3A84
secondary
#82C39A
accent
#DA814E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3A84

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

Preview Lab → · Contrast checker → · Palette generator →

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