#AF2D77#AF2D77

#AF2D77 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.180 H 350.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AF2D77
RGBrgb(175, 45, 119)
HSLhsl(326, 59%, 43%)
HSVhsv(326, 74%, 69%)
CMYKcmyk(0%, 74.3%, 32%, 31.4%)
CIE-LABlab(41.73, 57.93, -11.58)
CIE-LCHlch(41.73, 59.07, 348.69°)
OKLaboklab(52.14% 0.1771 -0.0302)
OKLCHoklch(52.14% 0.18 350.3)
XYZxyz(21.9486, 12.3252, 18.6723)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D77 #2DAF65
analogous
#A62DAF #AF2D77 #AF2D36
triadic
#AF2D77 #77AF2D #2D77AF
tetradic
#AF2D77 #AFA62D #2DAF65 #2D36AF
square
#AF2D77 #AFA62D #2DAF65 #2D36AF
split-complementary
#AF2D77 #36AF2D #2DAFA6
monochromatic
#4E1435 #7E2056 #AF2D77 #D04996 #DD7AB2

Accessibility & contrast

On white

6.06
#AF2D77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF2D77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D77
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D77#FFFFFF#000000##FFFFFF
##AF2D771.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425479
Deuteranopia (green-blind)
#686B74
Tritanopia (blue-blind)
#BC244E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2d77;
/* rgb */ color: rgb(175, 45, 119);
/* oklch */ color: oklch(52.1% 0.180 350.3);
Tailwind
colors: {
  custom: {
    50: '#cb729e',
    500: '#af2d77',
    950: '#000000',
  },
}
SCSS
$custom: #af2d77;
$custom-light: #cb729e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d77",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 325.846,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52141,
    "c": 0.17962,
    "h": 350.3
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#AF2D77
secondary
#73C596
accent
#E28946
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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