#AF3F84#AF3F84

#AF3F84 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.164 H 345.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF3F84
RGBrgb(175, 63, 132)
HSLhsl(323, 47%, 47%)
HSVhsv(323, 64%, 69%)
CMYKcmyk(0%, 64%, 24.6%, 31.4%)
CIE-LABlab(44.71, 52.67, -15.03)
CIE-LCHlch(44.71, 54.77, 344.07°)
OKLaboklab(54.49% 0.1589 -0.0398)
OKLCHoklch(54.49% 0.164 345.9)
XYZxyz(23.6224, 14.3372, 23.3486)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F84 #3FAF6A
analogous
#A23FAF #AF3F84 #AF3F4C
triadic
#AF3F84 #84AF3F #3F84AF
tetradic
#AF3F84 #AFA23F #3FAF6A #3F4CAF
square
#AF3F84 #AFA23F #3FAF6A #3F4CAF
split-complementary
#AF3F84 #4CAF3F #3FAFA2
monochromatic
#551F40 #822F62 #AF3F84 #C764A1 #D791BC

Accessibility & contrast

On white

5.43
#AF3F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF3F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F84
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F84#FFFFFF#000000##FFFFFF
##AF3F841.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E86
Deuteranopia (green-blind)
#6B7181
Tritanopia (blue-blind)
#BA3D5C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3f84;
/* rgb */ color: rgb(175, 63, 132);
/* oklch */ color: oklch(54.5% 0.164 345.9);
Tailwind
colors: {
  custom: {
    50: '#ca7ba7',
    500: '#af3f84',
    950: '#000000',
  },
}
SCSS
$custom: #af3f84;
$custom-light: #ca7ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f84",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 132
  },
  "hsl": {
    "h": 323.036,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54492,
    "c": 0.16377,
    "h": 345.9
  },
  "luminance": 0.14335
}

Semantic roles & 50–950 ramp

primary
#AF3F84
secondary
#87C39E
accent
#D78451
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3F84

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

Preview Lab → · Contrast checker → · Palette generator →

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