#AF3D95#AF3D95

#AF3D95 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.178 H 337.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF3D95
RGBrgb(175, 61, 149)
HSLhsl(314, 48%, 46%)
HSVhsv(314, 65%, 69%)
CMYKcmyk(0%, 65.1%, 14.9%, 31.4%)
CIE-LABlab(45.11, 55.96, -24.69)
CIE-LCHlch(45.11, 61.17, 336.19°)
OKLaboklab(55.02% 0.1649 -0.0668)
OKLCHoklch(55.02% 0.178 337.9)
XYZxyz(24.7732, 14.6235, 29.9458)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D95 #3DAF57
analogous
#903DAF #AF3D95 #AF3D5C
triadic
#AF3D95 #95AF3D #3D95AF
tetradic
#AF3D95 #AF903D #3DAF57 #3D5CAF
square
#AF3D95 #AF903D #3DAF57 #3D5CAF
split-complementary
#AF3D95 #5CAF3D #3DAF90
monochromatic
#541D48 #822D6E #AF3D95 #C861B1 #D88FC7

Accessibility & contrast

On white

5.35
#AF3D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF3D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D95
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D95#FFFFFF#000000##FFFFFF
##AF3D951.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F98
Deuteranopia (green-blind)
#657192
Tritanopia (blue-blind)
#B84263
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3d95;
/* rgb */ color: rgb(175, 61, 149);
/* oklch */ color: oklch(55.0% 0.178 337.9);
Tailwind
colors: {
  custom: {
    50: '#ca7bb4',
    500: '#af3d95',
    950: '#000000',
  },
}
SCSS
$custom: #af3d95;
$custom-light: #ca7bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d95",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 313.684,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55017,
    "c": 0.17795,
    "h": 337.9
  },
  "luminance": 0.14621
}

Semantic roles & 50–950 ramp

primary
#AF3D95
secondary
#85C393
accent
#D86F50
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3D95

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

Preview Lab → · Contrast checker → · Palette generator →

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