#AF3A7C#AF3A7C

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

Color values

HEX#AF3A7C
RGBrgb(175, 58, 124)
HSLhsl(326, 50%, 46%)
HSVhsv(326, 67%, 69%)
CMYKcmyk(0%, 66.9%, 29.1%, 31.4%)
CIE-LABlab(43.65, 53.70, -11.76)
CIE-LCHlch(43.65, 54.97, 347.65°)
OKLaboklab(53.61% 0.1633 -0.0307)
OKLCHoklch(53.61% 0.166 349.3)
XYZxyz(22.8314, 13.5977, 20.4871)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A7C #3AAF6D
analogous
#A73AAF #AF3A7C #AF3A41
triadic
#AF3A7C #7CAF3A #3A7CAF
tetradic
#AF3A7C #AFA73A #3AAF6D #3A41AF
square
#AF3A7C #AFA73A #3AAF6D #3A41AF
split-complementary
#AF3A7C #41AF3A #3AAFA7
monochromatic
#531C3B #812B5B #AF3A7C #C95D9A #D98BB7

Accessibility & contrast

On white

5.65
#AF3A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF3A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A7C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A7C#FFFFFF#000000##FFFFFF
##AF3A7C1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7E
Deuteranopia (green-blind)
#6B6F79
Tritanopia (blue-blind)
#BB3556
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3a7c;
/* rgb */ color: rgb(175, 58, 124);
/* oklch */ color: oklch(53.6% 0.166 349.3);
Tailwind
colors: {
  custom: {
    50: '#cb78a2',
    500: '#af3a7c',
    950: '#000000',
  },
}
SCSS
$custom: #af3a7c;
$custom-light: #cb78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a7c",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 124
  },
  "hsl": {
    "h": 326.154,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.16613,
    "h": 349.3
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#AF3A7C
secondary
#82C39E
accent
#DA8B4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AF3A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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