#AF3B95#AF3B95

#AF3B95 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.181 H 337.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF3B95
RGBrgb(175, 59, 149)
HSLhsl(313, 50%, 46%)
HSVhsv(313, 66%, 69%)
CMYKcmyk(0%, 66.3%, 14.9%, 31.4%)
CIE-LABlab(44.82, 56.78, -25.15)
CIE-LCHlch(44.82, 62.10, 336.11°)
OKLaboklab(54.8% 0.1673 -0.0681)
OKLCHoklch(54.8% 0.181 337.9)
XYZxyz(24.6684, 14.4140, 29.9109)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3B95 #3BAF55
analogous
#8F3BAF #AF3B95 #AF3B5B
triadic
#AF3B95 #95AF3B #3B95AF
tetradic
#AF3B95 #AF8F3B #3BAF55 #3B5BAF
square
#AF3B95 #AF8F3B #3BAF55 #3B5BAF
split-complementary
#AF3B95 #5BAF3B #3BAF8F
monochromatic
#531C47 #812C6E #AF3B95 #C95EB1 #D88CC7

Accessibility & contrast

On white

5.41
#AF3B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF3B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3B95
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3B95#FFFFFF#000000##FFFFFF
##AF3B951.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F98
Deuteranopia (green-blind)
#647192
Tritanopia (blue-blind)
#B84063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3b95;
/* rgb */ color: rgb(175, 59, 149);
/* oklch */ color: oklch(54.8% 0.181 337.9);
Tailwind
colors: {
  custom: {
    50: '#ca7ab4',
    500: '#af3b95',
    950: '#000000',
  },
}
SCSS
$custom: #af3b95;
$custom-light: #ca7ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3b95",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 313.448,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.18067,
    "h": 337.9
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#AF3B95
secondary
#83C391
accent
#D96E4F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3B95

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

Preview Lab → · Contrast checker → · Palette generator →

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