#AF3B94#AF3B94

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

Color values

HEX#AF3B94
RGBrgb(175, 59, 148)
HSLhsl(314, 50%, 46%)
HSVhsv(314, 66%, 69%)
CMYKcmyk(0%, 66.3%, 15.4%, 31.4%)
CIE-LABlab(44.78, 56.63, -24.62)
CIE-LCHlch(44.78, 61.75, 336.50°)
OKLaboklab(54.76% 0.1672 -0.0666)
OKLCHoklch(54.76% 0.18 338.3)
XYZxyz(24.5889, 14.3822, 29.4923)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3B94 #3BAF56
analogous
#903BAF #AF3B94 #AF3B5A
triadic
#AF3B94 #94AF3B #3B94AF
tetradic
#AF3B94 #AF903B #3BAF56 #3B5AAF
square
#AF3B94 #AF903B #3BAF56 #3B5AAF
split-complementary
#AF3B94 #5AAF3B #3BAF90
monochromatic
#531C47 #812C6D #AF3B94 #C95EB0 #D88CC7

Accessibility & contrast

On white

5.42
#AF3B94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3B94
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3B94#FFFFFF#000000##FFFFFF
##AF3B941.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E97
Deuteranopia (green-blind)
#647091
Tritanopia (blue-blind)
#B84062
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3b94;
/* rgb */ color: rgb(175, 59, 148);
/* oklch */ color: oklch(54.8% 0.180 338.3);
Tailwind
colors: {
  custom: {
    50: '#ca79b3',
    500: '#af3b94',
    950: '#000000',
  },
}
SCSS
$custom: #af3b94;
$custom-light: #ca79b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3b94",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 313.966,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.17996,
    "h": 338.3
  },
  "luminance": 0.1438
}

Semantic roles & 50–950 ramp

primary
#AF3B94
secondary
#83C392
accent
#D96F4F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3B94

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

Preview Lab → · Contrast checker → · Palette generator →

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