#AF4774#AF4774

#AF4774 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.9% C 0.144 H 355.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF4774
RGBrgb(175, 71, 116)
HSLhsl(334, 42%, 48%)
HSVhsv(334, 59%, 69%)
CMYKcmyk(0%, 59.4%, 33.7%, 31.4%)
CIE-LABlab(45.47, 46.99, -4.13)
CIE-LCHlch(45.47, 47.17, 354.97°)
OKLaboklab(54.87% 0.1431 -0.0103)
OKLCHoklch(54.87% 0.144 355.9)
XYZxyz(23.0860, 14.8838, 18.1767)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4774 #47AF82
analogous
#AF47A8 #AF4774 #AF4E47
triadic
#AF4774 #74AF47 #4774AF
tetradic
#AF4774 #A8AF47 #47AF82 #4E47AF
square
#AF4774 #A8AF47 #47AF82 #4E47AF
split-complementary
#AF4774 #47AF4E #47A8AF
monochromatic
#58243A #833557 #AF4774 #C46F94 #D69AB4

Accessibility & contrast

On white

5.28
#AF4774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF4774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4774
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4774#FFFFFF#000000##FFFFFF
##AF47741.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576075
Deuteranopia (green-blind)
#737372
Tritanopia (blue-blind)
#BC4058
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4774;
/* rgb */ color: rgb(175, 71, 116);
/* oklch */ color: oklch(54.9% 0.144 355.9);
Tailwind
colors: {
  custom: {
    50: '#ca7f9c',
    500: '#af4774',
    950: '#000000',
  },
}
SCSS
$custom: #af4774;
$custom-light: #ca7f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4774",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 116
  },
  "hsl": {
    "h": 334.038,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.14351,
    "h": 355.9
  },
  "luminance": 0.14881
}

Semantic roles & 50–950 ramp

primary
#AF4774
secondary
#8FC2AC
accent
#D29C56
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4774

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

Preview Lab → · Contrast checker → · Palette generator →

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