#AF3B7D#AF3B7D

#AF3B7D is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.8% C 0.165 H 349.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF3B7D
RGBrgb(175, 59, 125)
HSLhsl(326, 50%, 46%)
HSVhsv(326, 66%, 69%)
CMYKcmyk(0%, 66.3%, 28.6%, 31.4%)
CIE-LABlab(43.84, 53.42, -12.09)
CIE-LCHlch(43.84, 54.77, 347.25°)
OKLaboklab(53.76% 0.1623 -0.0317)
OKLCHoklch(53.76% 0.165 349)
XYZxyz(22.9459, 13.7250, 20.8388)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3B7D #3BAF6D
analogous
#A73BAF #AF3B7D #AF3B43
triadic
#AF3B7D #7DAF3B #3B7DAF
tetradic
#AF3B7D #AFA73B #3BAF6D #3B43AF
square
#AF3B7D #AFA73B #3BAF6D #3B43AF
split-complementary
#AF3B7D #43AF3B #3BAFA7
monochromatic
#531C3C #812C5C #AF3B7D #C95E9B #D88CB7

Accessibility & contrast

On white

5.61
#AF3B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF3B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3B7D
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3B7D#FFFFFF#000000##FFFFFF
##AF3B7D1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B7F
Deuteranopia (green-blind)
#6B6F7A
Tritanopia (blue-blind)
#BB3657
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3b7d;
/* rgb */ color: rgb(175, 59, 125);
/* oklch */ color: oklch(53.8% 0.165 349.0);
Tailwind
colors: {
  custom: {
    50: '#cb79a2',
    500: '#af3b7d',
    950: '#000000',
  },
}
SCSS
$custom: #af3b7d;
$custom-light: #cb79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3b7d",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 125
  },
  "hsl": {
    "h": 325.862,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5376,
    "c": 0.16532,
    "h": 349
  },
  "luminance": 0.13723
}

Semantic roles & 50–950 ramp

primary
#AF3B7D
secondary
#83C39E
accent
#D98A4F
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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