#AF4A71#AF4A71

#AF4A71 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.2% C 0.138 H 358.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF4A71
RGBrgb(175, 74, 113)
HSLhsl(337, 41%, 49%)
HSVhsv(337, 58%, 69%)
CMYKcmyk(0%, 57.7%, 35.4%, 31.4%)
CIE-LABlab(45.92, 45.20, -1.65)
CIE-LCHlch(45.92, 45.23, 357.91°)
OKLaboklab(55.17% 0.1377 -0.0037)
OKLCHoklch(55.17% 0.138 358.4)
XYZxyz(23.1098, 15.2062, 17.3376)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A71 #4AAF88
analogous
#AF4AA4 #AF4A71 #AF564A
triadic
#AF4A71 #71AF4A #4A71AF
tetradic
#AF4A71 #A4AF4A #4AAF88 #564AAF
square
#AF4A71 #A4AF4A #4AAF88 #564AAF
split-complementary
#AF4A71 #4AAF56 #4AA4AF
monochromatic
#592639 #843855 #AF4A71 #C47392 #D69EB3

Accessibility & contrast

On white

5.20
#AF4A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF4A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A71
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A71#FFFFFF#000000##FFFFFF
##AF4A711.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#75746F
Tritanopia (blue-blind)
#BC4259
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4a71;
/* rgb */ color: rgb(175, 74, 113);
/* oklch */ color: oklch(55.2% 0.138 358.4);
Tailwind
colors: {
  custom: {
    50: '#ca8199',
    500: '#af4a71',
    950: '#000000',
  },
}
SCSS
$custom: #af4a71;
$custom-light: #ca8199;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a71",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 336.832,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.13775,
    "h": 358.4
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#AF4A71
secondary
#92C2B0
accent
#D0A257
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4A71

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

Preview Lab → · Contrast checker → · Palette generator →

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