#AF3A62#AF3A62

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

Color values

HEX#AF3A62
RGBrgb(175, 58, 98)
HSLhsl(339, 50%, 46%)
HSVhsv(339, 67%, 69%)
CMYKcmyk(0%, 66.9%, 44%, 31.4%)
CIE-LABlab(42.80, 50.72, 3.05)
CIE-LCHlch(42.80, 50.81, 3.44°)
OKLaboklab(52.7% 0.155 0.0084)
OKLCHoklch(52.7% 0.155 3.1)
XYZxyz(21.3984, 13.0245, 12.9400)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A62 #3AAF87
analogous
#AF3A9C #AF3A62 #AF4C3A
triadic
#AF3A62 #62AF3A #3A62AF
tetradic
#AF3A62 #9CAF3A #3AAF87 #4C3AAF
square
#AF3A62 #9CAF3A #3AAF87 #4C3AAF
split-complementary
#AF3A62 #3AAF4C #3A9CAF
monochromatic
#531C2F #812B48 #AF3A62 #C95D82 #D98BA5

Accessibility & contrast

On white

5.83
#AF3A62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF3A62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A62
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A62#FFFFFF#000000##FFFFFF
##AF3A621.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3a62;
/* rgb */ color: rgb(175, 58, 98);
/* oklch */ color: oklch(52.7% 0.155 3.1);
Tailwind
colors: {
  custom: {
    50: '#cc788e',
    500: '#af3a62',
    950: '#000000',
  },
}
SCSS
$custom: #af3a62;
$custom-light: #cc788e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a62",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 98
  },
  "hsl": {
    "h": 339.487,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52704,
    "c": 0.15525,
    "h": 3.1
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#AF3A62
secondary
#82C3AD
accent
#DAAA4E
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3A62

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

Preview Lab → · Contrast checker → · Palette generator →

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