#AF4574#AF4574

#AF4574 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.6% C 0.146 H 355.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF4574
RGBrgb(175, 69, 116)
HSLhsl(333, 43%, 48%)
HSVhsv(333, 61%, 69%)
CMYKcmyk(0%, 60.6%, 33.7%, 31.4%)
CIE-LABlab(45.13, 47.92, -4.65)
CIE-LCHlch(45.13, 48.14, 354.46°)
OKLaboklab(54.61% 0.146 -0.0116)
OKLCHoklch(54.61% 0.146 355.4)
XYZxyz(22.9609, 14.6336, 18.1350)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4574 #45AF80
analogous
#AF45A9 #AF4574 #AF4B45
triadic
#AF4574 #74AF45 #4574AF
tetradic
#AF4574 #A9AF45 #45AF80 #4B45AF
square
#AF4574 #A9AF45 #45AF80 #4B45AF
split-complementary
#AF4574 #45AF4B #45A9AF
monochromatic
#57223A #833457 #AF4574 #C56C94 #D698B4

Accessibility & contrast

On white

5.35
#AF4574 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF4574 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4574
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4574#FFFFFF#000000##FFFFFF
##AF45741.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565F75
Deuteranopia (green-blind)
#727272
Tritanopia (blue-blind)
#BC3E57
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4574;
/* rgb */ color: rgb(175, 69, 116);
/* oklch */ color: oklch(54.6% 0.146 355.4);
Tailwind
colors: {
  custom: {
    50: '#ca7e9c',
    500: '#af4574',
    950: '#000000',
  },
}
SCSS
$custom: #af4574;
$custom-light: #ca7e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4574",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 116
  },
  "hsl": {
    "h": 333.396,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.14649,
    "h": 355.4
  },
  "luminance": 0.14631
}

Semantic roles & 50–950 ramp

primary
#AF4574
secondary
#8DC2AB
accent
#D39B55
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4574

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

Preview Lab → · Contrast checker → · Palette generator →

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