#AF3A63#AF3A63

#AF3A63 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.7% C 0.156 H 2.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AF3A63
RGBrgb(175, 58, 99)
HSLhsl(339, 50%, 46%)
HSVhsv(339, 67%, 69%)
CMYKcmyk(0%, 66.9%, 43.4%, 31.4%)
CIE-LABlab(42.83, 50.82, 2.47)
CIE-LCHlch(42.83, 50.88, 2.78°)
OKLaboklab(52.74% 0.1554 0.007)
OKLCHoklch(52.74% 0.156 2.6)
XYZxyz(21.4459, 13.0435, 13.1903)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A63 #3AAF86
analogous
#AF3A9E #AF3A63 #AF4B3A
triadic
#AF3A63 #63AF3A #3A63AF
tetradic
#AF3A63 #9EAF3A #3AAF86 #4B3AAF
square
#AF3A63 #9EAF3A #3AAF86 #4B3AAF
split-complementary
#AF3A63 #3AAF4B #3A9EAF
monochromatic
#531C2F #812B49 #AF3A63 #C95D83 #D98BA6

Accessibility & contrast

On white

5.82
#AF3A63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF3A63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A63
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A63#FFFFFF#000000##FFFFFF
##AF3A631.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525764
Deuteranopia (green-blind)
#716E60
Tritanopia (blue-blind)
#BE2B4A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3a63;
/* rgb */ color: rgb(175, 58, 99);
/* oklch */ color: oklch(52.7% 0.156 2.6);
Tailwind
colors: {
  custom: {
    50: '#cc788f',
    500: '#af3a63',
    950: '#000000',
  },
}
SCSS
$custom: #af3a63;
$custom-light: #cc788f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a63",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 99
  },
  "hsl": {
    "h": 338.974,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.15554,
    "h": 2.6
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#AF3A63
secondary
#82C3AC
accent
#DAA94E
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3A63

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

Preview Lab → · Contrast checker → · Palette generator →

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