#AF2773#AF2773

#AF2773 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.184 H 351.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AF2773
RGBrgb(175, 39, 115)
HSLhsl(326, 64%, 42%)
HSVhsv(326, 78%, 69%)
CMYKcmyk(0%, 77.7%, 34.3%, 31.4%)
CIE-LABlab(40.91, 59.37, -10.34)
CIE-LCHlch(40.91, 60.27, 350.12°)
OKLaboklab(51.49% 0.1821 -0.0268)
OKLCHoklch(51.49% 0.184 351.6)
XYZxyz(21.5005, 11.8054, 17.3628)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2773 #27AF63
analogous
#A727AF #AF2773 #AF272F
triadic
#AF2773 #73AF27 #2773AF
tetradic
#AF2773 #AFA727 #27AF63 #272FAF
square
#AF2773 #AFA727 #27AF63 #272FAF
split-complementary
#AF2773 #2FAF27 #27AFA7
monochromatic
#4B1131 #7D1C52 #AF2773 #D43F92 #DF71AF

Accessibility & contrast

On white

6.25
#AF2773 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF2773 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2773
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2773#FFFFFF#000000##FFFFFF
##AF27731.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405175
Deuteranopia (green-blind)
#676970
Tritanopia (blue-blind)
#BD1A4A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2773;
/* rgb */ color: rgb(175, 39, 115);
/* oklch */ color: oklch(51.5% 0.184 351.6);
Tailwind
colors: {
  custom: {
    50: '#cc709b',
    500: '#af2773',
    950: '#000000',
  },
}
SCSS
$custom: #af2773;
$custom-light: #cc709b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2773",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 326.471,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.18401,
    "h": 351.6
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

primary
#AF2773
secondary
#6BC694
accent
#E78A41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2773

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

Preview Lab → · Contrast checker → · Palette generator →

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