#AF4A74#AF4A74

#AF4A74 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.3% C 0.139 H 356.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF4A74
RGBrgb(175, 74, 116)
HSLhsl(335, 41%, 49%)
HSVhsv(335, 58%, 69%)
CMYKcmyk(0%, 57.7%, 33.7%, 31.4%)
CIE-LABlab(46.01, 45.57, -3.34)
CIE-LCHlch(46.01, 45.69, 355.80°)
OKLaboklab(55.27% 0.1387 -0.0082)
OKLCHoklch(55.27% 0.139 356.6)
XYZxyz(23.2815, 15.2748, 18.2418)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A74 #4AAF85
analogous
#AF4AA7 #AF4A74 #AF534A
triadic
#AF4A74 #74AF4A #4A74AF
tetradic
#AF4A74 #A7AF4A #4AAF85 #534AAF
square
#AF4A74 #A7AF4A #4AAF85 #534AAF
split-complementary
#AF4A74 #4AAF53 #4AA7AF
monochromatic
#59263B #843857 #AF4A74 #C47394 #D69EB5

Accessibility & contrast

On white

5.18
#AF4A74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF4A74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A74
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A74#FFFFFF#000000##FFFFFF
##AF4A741.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6175
Deuteranopia (green-blind)
#757472
Tritanopia (blue-blind)
#BC435A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4a74;
/* rgb */ color: rgb(175, 74, 116);
/* oklch */ color: oklch(55.3% 0.139 356.6);
Tailwind
colors: {
  custom: {
    50: '#ca819c',
    500: '#af4a74',
    950: '#000000',
  },
}
SCSS
$custom: #af4a74;
$custom-light: #ca819c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a74",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 116
  },
  "hsl": {
    "h": 335.05,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55268,
    "c": 0.13897,
    "h": 356.6
  },
  "luminance": 0.15272
}

Semantic roles & 50–950 ramp

primary
#AF4A74
secondary
#92C2AE
accent
#D09E57
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4A74

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

Preview Lab → · Contrast checker → · Palette generator →

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