#AF3C7A#AF3C7A

#AF3C7A is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.8% C 0.162 H 350.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF3C7A
RGBrgb(175, 60, 122)
HSLhsl(328, 49%, 46%)
HSVhsv(328, 66%, 69%)
CMYKcmyk(0%, 65.7%, 30.3%, 31.4%)
CIE-LABlab(43.88, 52.62, -10.19)
CIE-LCHlch(43.88, 53.60, 349.04°)
OKLaboklab(53.75% 0.1602 -0.0265)
OKLCHoklch(53.75% 0.162 350.6)
XYZxyz(22.8090, 13.7532, 19.8620)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C7A #3CAF71
analogous
#AA3CAF #AF3C7A #AF3C40
triadic
#AF3C7A #7AAF3C #3C7AAF
tetradic
#AF3C7A #AFAA3C #3CAF71 #3C40AF
square
#AF3C7A #AFAA3C #3CAF71 #3C40AF
split-complementary
#AF3C7A #40AF3C #3CAFAA
monochromatic
#541D3A #812C5A #AF3C7A #C86098 #D88DB6

Accessibility & contrast

On white

5.60
#AF3C7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF3C7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C7A
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C7A#FFFFFF#000000##FFFFFF
##AF3C7A1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7C
Deuteranopia (green-blind)
#6D6F77
Tritanopia (blue-blind)
#BC3656
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3c7a;
/* rgb */ color: rgb(175, 60, 122);
/* oklch */ color: oklch(53.8% 0.162 350.6);
Tailwind
colors: {
  custom: {
    50: '#cb79a0',
    500: '#af3c7a',
    950: '#000000',
  },
}
SCSS
$custom: #af3c7a;
$custom-light: #cb79a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c7a",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 122
  },
  "hsl": {
    "h": 327.652,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.16233,
    "h": 350.6
  },
  "luminance": 0.13751
}

Semantic roles & 50–950 ramp

primary
#AF3C7A
secondary
#84C3A1
accent
#D88F4F
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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