#AF3B7A#AF3B7A

#AF3B7A is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.6% C 0.164 H 350.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF3B7A
RGBrgb(175, 59, 122)
HSLhsl(327, 50%, 46%)
HSVhsv(327, 66%, 69%)
CMYKcmyk(0%, 66.3%, 30.3%, 31.4%)
CIE-LABlab(43.73, 53.04, -10.42)
CIE-LCHlch(43.73, 54.05, 348.89°)
OKLaboklab(53.64% 0.1615 -0.0271)
OKLCHoklch(53.64% 0.164 350.5)
XYZxyz(22.7571, 13.6495, 19.8447)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3B7A #3BAF70
analogous
#AA3BAF #AF3B7A #AF3B40
triadic
#AF3B7A #7AAF3B #3B7AAF
tetradic
#AF3B7A #AFAA3B #3BAF70 #3B40AF
square
#AF3B7A #AFAA3B #3BAF70 #3B40AF
split-complementary
#AF3B7A #40AF3B #3BAFAA
monochromatic
#531C3A #812C5A #AF3B7A #C95E98 #D88CB5

Accessibility & contrast

On white

5.63
#AF3B7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AF3B7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3B7A
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3B7A#FFFFFF#000000##FFFFFF
##AF3B7A1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7C
Deuteranopia (green-blind)
#6C6F77
Tritanopia (blue-blind)
#BC3555
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3b7a;
/* rgb */ color: rgb(175, 59, 122);
/* oklch */ color: oklch(53.6% 0.164 350.5);
Tailwind
colors: {
  custom: {
    50: '#cb79a0',
    500: '#af3b7a',
    950: '#000000',
  },
}
SCSS
$custom: #af3b7a;
$custom-light: #cb79a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3b7a",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 122
  },
  "hsl": {
    "h": 327.414,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53643,
    "c": 0.16371,
    "h": 350.5
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#AF3B7A
secondary
#83C3A0
accent
#D98E4F
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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