#AF3F95#AF3F95

#AF3F95 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.175 H 338.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF3F95
RGBrgb(175, 63, 149)
HSLhsl(314, 47%, 47%)
HSVhsv(314, 64%, 69%)
CMYKcmyk(0%, 64%, 14.9%, 31.4%)
CIE-LABlab(45.42, 55.13, -24.23)
CIE-LCHlch(45.42, 60.22, 336.28°)
OKLaboklab(55.24% 0.1624 -0.0655)
OKLCHoklch(55.24% 0.175 338)
XYZxyz(24.8819, 14.8410, 29.9821)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F95 #3FAF59
analogous
#913FAF #AF3F95 #AF3F5D
triadic
#AF3F95 #95AF3F #3F95AF
tetradic
#AF3F95 #AF913F #3FAF59 #3F5DAF
square
#AF3F95 #AF913F #3FAF59 #3F5DAF
split-complementary
#AF3F95 #5DAF3F #3FAF91
monochromatic
#551F48 #822F6F #AF3F95 #C764B0 #D791C7

Accessibility & contrast

On white

5.29
#AF3F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF3F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F95
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F95#FFFFFF#000000##FFFFFF
##AF3F951.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436098
Deuteranopia (green-blind)
#667292
Tritanopia (blue-blind)
#B84464
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3f95;
/* rgb */ color: rgb(175, 63, 149);
/* oklch */ color: oklch(55.2% 0.175 338.0);
Tailwind
colors: {
  custom: {
    50: '#ca7cb4',
    500: '#af3f95',
    950: '#000000',
  },
}
SCSS
$custom: #af3f95;
$custom-light: #ca7cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f95",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 313.929,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.17515,
    "h": 338
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#AF3F95
secondary
#87C395
accent
#D77051
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3F95

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

Preview Lab → · Contrast checker → · Palette generator →

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