#AF3A95#AF3A95

#AF3A95 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.182 H 337.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF3A95
RGBrgb(175, 58, 149)
HSLhsl(313, 50%, 46%)
HSVhsv(313, 67%, 69%)
CMYKcmyk(0%, 66.9%, 14.9%, 31.4%)
CIE-LABlab(44.68, 57.18, -25.37)
CIE-LCHlch(44.68, 62.55, 336.07°)
OKLaboklab(54.7% 0.1685 -0.0687)
OKLCHoklch(54.7% 0.182 337.8)
XYZxyz(24.6175, 14.3122, 29.8939)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A95 #3AAF54
analogous
#8E3AAF #AF3A95 #AF3A5A
triadic
#AF3A95 #95AF3A #3A95AF
tetradic
#AF3A95 #AF8E3A #3AAF54 #3A5AAF
square
#AF3A95 #AF8E3A #3AAF54 #3A5AAF
split-complementary
#AF3A95 #5AAF3A #3AAF8E
monochromatic
#531C47 #812B6E #AF3A95 #C95DB1 #D98BC7

Accessibility & contrast

On white

5.44
#AF3A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF3A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A95
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A95#FFFFFF#000000##FFFFFF
##AF3A951.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E98
Deuteranopia (green-blind)
#637092
Tritanopia (blue-blind)
#B83F62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3a95;
/* rgb */ color: rgb(175, 58, 149);
/* oklch */ color: oklch(54.7% 0.182 337.8);
Tailwind
colors: {
  custom: {
    50: '#ca79b4',
    500: '#af3a95',
    950: '#000000',
  },
}
SCSS
$custom: #af3a95;
$custom-light: #ca79b4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a95",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 313.333,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54699,
    "c": 0.18202,
    "h": 337.8
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#AF3A95
secondary
#82C390
accent
#DA6D4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3A95

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

Preview Lab → · Contrast checker → · Palette generator →

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