#AF4A77#AF4A77

#AF4A77 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.4% C 0.140 H 354.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF4A77
RGBrgb(175, 74, 119)
HSLhsl(333, 41%, 49%)
HSVhsv(333, 58%, 69%)
CMYKcmyk(0%, 57.7%, 32%, 31.4%)
CIE-LABlab(46.10, 45.95, -5.03)
CIE-LCHlch(46.10, 46.22, 353.75°)
OKLaboklab(55.37% 0.1397 -0.0127)
OKLCHoklch(55.37% 0.14 354.8)
XYZxyz(23.4589, 15.3458, 19.1758)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A77 #4AAF82
analogous
#AF4AAA #AF4A77 #AF504A
triadic
#AF4A77 #77AF4A #4A77AF
tetradic
#AF4A77 #AAAF4A #4AAF82 #504AAF
square
#AF4A77 #AAAF4A #4AAF82 #504AAF
split-complementary
#AF4A77 #4AAF50 #4AAAAF
monochromatic
#59263D #84385A #AF4A77 #C47397 #D69EB7

Accessibility & contrast

On white

5.16
#AF4A77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AF4A77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A77
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A77#FFFFFF#000000##FFFFFF
##AF4A771.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596278
Deuteranopia (green-blind)
#747475
Tritanopia (blue-blind)
#BC445B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4a77;
/* rgb */ color: rgb(175, 74, 119);
/* oklch */ color: oklch(55.4% 0.140 354.8);
Tailwind
colors: {
  custom: {
    50: '#ca819e',
    500: '#af4a77',
    950: '#000000',
  },
}
SCSS
$custom: #af4a77;
$custom-light: #ca819e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a77",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 119
  },
  "hsl": {
    "h": 333.267,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.1403,
    "h": 354.8
  },
  "luminance": 0.15343
}

Semantic roles & 50–950 ramp

primary
#AF4A77
secondary
#92C2AD
accent
#D09A57
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4A77

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

Preview Lab → · Contrast checker → · Palette generator →

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