#AF2D62#AF2D62

#AF2D62 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.171 H 0.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF2D62
RGBrgb(175, 45, 98)
HSLhsl(336, 59%, 43%)
HSVhsv(336, 74%, 69%)
CMYKcmyk(0%, 74.3%, 44%, 31.4%)
CIE-LABlab(41.02, 55.66, 0.46)
CIE-LCHlch(41.02, 55.66, 0.48°)
OKLaboklab(51.39% 0.1708 0.0018)
OKLCHoklch(51.39% 0.171 0.6)
XYZxyz(20.8238, 11.8753, 12.7485)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D62 #2DAF7A
analogous
#AF2DA3 #AF2D62 #AF392D
triadic
#AF2D62 #62AF2D #2D62AF
tetradic
#AF2D62 #A3AF2D #2DAF7A #392DAF
square
#AF2D62 #A3AF2D #2DAF7A #392DAF
split-complementary
#AF2D62 #2DAF39 #2DA3AF
monochromatic
#4E142B #7E2047 #AF2D62 #D04980 #DD7AA2

Accessibility & contrast

On white

6.22
#AF2D62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF2D62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D62
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D62#FFFFFF#000000##FFFFFF
##AF2D621.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5163
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#BE1744
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2d62;
/* rgb */ color: rgb(175, 45, 98);
/* oklch */ color: oklch(51.4% 0.171 0.6);
Tailwind
colors: {
  custom: {
    50: '#cc718e',
    500: '#af2d62',
    950: '#000000',
  },
}
SCSS
$custom: #af2d62;
$custom-light: #cc718e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d62",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 335.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.17076,
    "h": 0.6
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#AF2D62
secondary
#73C5A3
accent
#E2A246
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2D62

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

Preview Lab → · Contrast checker → · Palette generator →

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