#AF3A86#AF3A86

#AF3A86 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.0% C 0.172 H 344.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AF3A86
RGBrgb(175, 58, 134)
HSLhsl(321, 50%, 46%)
HSVhsv(321, 67%, 69%)
CMYKcmyk(0%, 66.9%, 23.4%, 31.4%)
CIE-LABlab(44.04, 55.02, -17.28)
CIE-LCHlch(44.04, 57.67, 342.56°)
OKLaboklab(54.02% 0.1657 -0.046)
OKLCHoklch(54.02% 0.172 344.5)
XYZxyz(23.4962, 13.8636, 23.9882)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A86 #3AAF63
analogous
#9E3AAF #AF3A86 #AF3A4B
triadic
#AF3A86 #86AF3A #3A86AF
tetradic
#AF3A86 #AF9E3A #3AAF63 #3A4BAF
square
#AF3A86 #AF9E3A #3AAF63 #3A4BAF
split-complementary
#AF3A86 #4BAF3A #3AAF9E
monochromatic
#531C40 #812B63 #AF3A86 #C95DA3 #D98BBD

Accessibility & contrast

On white

5.57
#AF3A86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF3A86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A86
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A86#FFFFFF#000000##FFFFFF
##AF3A861.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465C88
Deuteranopia (green-blind)
#686F83
Tritanopia (blue-blind)
#BA395B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3a86;
/* rgb */ color: rgb(175, 58, 134);
/* oklch */ color: oklch(54.0% 0.172 344.5);
Tailwind
colors: {
  custom: {
    50: '#ca79a9',
    500: '#af3a86',
    950: '#000000',
  },
}
SCSS
$custom: #af3a86;
$custom-light: #ca79a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a86",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 321.026,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.17197,
    "h": 344.5
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#AF3A86
secondary
#82C399
accent
#DA7F4E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3A86

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

Preview Lab → · Contrast checker → · Palette generator →

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