#AF4570#AF4570

#AF4570 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.5% C 0.145 H 357.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AF4570
RGBrgb(175, 69, 112)
HSLhsl(336, 43%, 48%)
HSVhsv(336, 61%, 69%)
CMYKcmyk(0%, 60.6%, 36%, 31.4%)
CIE-LABlab(45.00, 47.43, -2.38)
CIE-LCHlch(45.00, 47.49, 357.12°)
OKLaboklab(54.48% 0.1447 -0.0056)
OKLCHoklch(54.48% 0.145 357.8)
XYZxyz(22.7332, 14.5425, 16.9359)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4570 #45AF84
analogous
#AF45A5 #AF4570 #AF4F45
triadic
#AF4570 #70AF45 #4570AF
tetradic
#AF4570 #A5AF45 #45AF84 #4F45AF
square
#AF4570 #A5AF45 #45AF84 #4F45AF
split-complementary
#AF4570 #45AF4F #45A5AF
monochromatic
#572238 #833454 #AF4570 #C56C90 #D698B1

Accessibility & contrast

On white

5.37
#AF4570 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AF4570 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4570
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4570#FFFFFF#000000##FFFFFF
##AF45701.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E71
Deuteranopia (green-blind)
#73726E
Tritanopia (blue-blind)
#BC3C56
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4570;
/* rgb */ color: rgb(175, 69, 112);
/* oklch */ color: oklch(54.5% 0.145 357.8);
Tailwind
colors: {
  custom: {
    50: '#cb7e99',
    500: '#af4570',
    950: '#000000',
  },
}
SCSS
$custom: #af4570;
$custom-light: #cb7e99;
$custom-dark: #000000;
JSON
{
  "hex": "#af4570",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 112
  },
  "hsl": {
    "h": 335.66,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.14481,
    "h": 357.8
  },
  "luminance": 0.1454
}

Semantic roles & 50–950 ramp

primary
#AF4570
secondary
#8DC2AD
accent
#D3A055
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF4570

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

Preview Lab → · Contrast checker → · Palette generator →

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