#AF4779#AF4779

#AF4779 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.0% C 0.146 H 353.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF4779
RGBrgb(175, 71, 121)
HSLhsl(331, 42%, 48%)
HSVhsv(331, 59%, 69%)
CMYKcmyk(0%, 59.4%, 30.9%, 31.4%)
CIE-LABlab(45.64, 47.62, -6.94)
CIE-LCHlch(45.64, 48.12, 351.71°)
OKLaboklab(55.05% 0.1448 -0.0178)
OKLCHoklch(55.05% 0.146 353)
XYZxyz(23.3847, 15.0033, 19.7498)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4779 #47AF7D
analogous
#AF47AD #AF4779 #AF4947
triadic
#AF4779 #79AF47 #4779AF
tetradic
#AF4779 #ADAF47 #47AF7D #4947AF
square
#AF4779 #ADAF47 #47AF7D #4947AF
split-complementary
#AF4779 #47AF49 #47ADAF
monochromatic
#58243D #83355B #AF4779 #C46F98 #D69AB7

Accessibility & contrast

On white

5.25
#AF4779 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF4779 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4779
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4779#FFFFFF#000000##FFFFFF
##AF47791.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56607B
Deuteranopia (green-blind)
#727377
Tritanopia (blue-blind)
#BB415B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4779;
/* rgb */ color: rgb(175, 71, 121);
/* oklch */ color: oklch(55.0% 0.146 353.0);
Tailwind
colors: {
  custom: {
    50: '#ca7f9f',
    500: '#af4779',
    950: '#000000',
  },
}
SCSS
$custom: #af4779;
$custom-light: #ca7f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4779",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 121
  },
  "hsl": {
    "h": 331.154,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.14584,
    "h": 353
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#AF4779
secondary
#8FC2AA
accent
#D29656
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4779

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

Preview Lab → · Contrast checker → · Palette generator →

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