#AF4A76#AF4A76

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

Color values

HEX#AF4A76
RGBrgb(175, 74, 118)
HSLhsl(334, 41%, 49%)
HSVhsv(334, 58%, 69%)
CMYKcmyk(0%, 57.7%, 32.6%, 31.4%)
CIE-LABlab(46.07, 45.82, -4.47)
CIE-LCHlch(46.07, 46.04, 354.43°)
OKLaboklab(55.34% 0.1394 -0.0112)
OKLCHoklch(55.34% 0.14 355.4)
XYZxyz(23.3991, 15.3219, 18.8611)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A76 #4AAF83
analogous
#AF4AA9 #AF4A76 #AF514A
triadic
#AF4A76 #76AF4A #4A76AF
tetradic
#AF4A76 #A9AF4A #4AAF83 #514AAF
square
#AF4A76 #A9AF4A #4AAF83 #514AAF
split-complementary
#AF4A76 #4AAF51 #4AA9AF
monochromatic
#59263C #843859 #AF4A76 #C47396 #D69EB6

Accessibility & contrast

On white

5.17
#AF4A76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF4A76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A76
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A76#FFFFFF#000000##FFFFFF
##AF4A761.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596277
Deuteranopia (green-blind)
#747474
Tritanopia (blue-blind)
#BC435B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4a76;
/* rgb */ color: rgb(175, 74, 118);
/* oklch */ color: oklch(55.3% 0.140 355.4);
Tailwind
colors: {
  custom: {
    50: '#ca819d',
    500: '#af4a76',
    950: '#000000',
  },
}
SCSS
$custom: #af4a76;
$custom-light: #ca819d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a76",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 118
  },
  "hsl": {
    "h": 333.861,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55337,
    "c": 0.13984,
    "h": 355.4
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#AF4A76
secondary
#92C2AD
accent
#D09C57
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4A76

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

Preview Lab → · Contrast checker → · Palette generator →

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