#AF4B79#AF4B79

#AF4B79 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.6% C 0.140 H 353.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AF4B79
RGBrgb(175, 75, 121)
HSLhsl(332, 40%, 49%)
HSVhsv(332, 57%, 69%)
CMYKcmyk(0%, 57.1%, 30.9%, 31.4%)
CIE-LABlab(46.35, 45.72, -5.88)
CIE-LCHlch(46.35, 46.10, 352.67°)
OKLaboklab(55.58% 0.1389 -0.015)
OKLCHoklch(55.58% 0.14 353.9)
XYZxyz(23.6475, 15.5289, 19.8374)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B79 #4BAF81
analogous
#AF4BAB #AF4B79 #AF4F4B
triadic
#AF4B79 #79AF4B #4B79AF
tetradic
#AF4B79 #ABAF4B #4BAF81 #4F4BAF
square
#AF4B79 #ABAF4B #4BAF81 #4F4BAF
split-complementary
#AF4B79 #4BAF4F #4BABAF
monochromatic
#59263E #84395B #AF4B79 #C37498 #D69FB8

Accessibility & contrast

On white

5.12
#AF4B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AF4B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B79
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B79#FFFFFF#000000##FFFFFF
##AF4B791.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59627A
Deuteranopia (green-blind)
#747577
Tritanopia (blue-blind)
#BB455D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4b79;
/* rgb */ color: rgb(175, 75, 121);
/* oklch */ color: oklch(55.6% 0.140 353.9);
Tailwind
colors: {
  custom: {
    50: '#ca829f',
    500: '#af4b79',
    950: '#000000',
  },
}
SCSS
$custom: #af4b79;
$custom-light: #ca829f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b79",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 121
  },
  "hsl": {
    "h": 332.4,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55576,
    "c": 0.13969,
    "h": 353.9
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#AF4B79
secondary
#93C2AD
accent
#D09958
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4B79

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

Preview Lab → · Contrast checker → · Palette generator →

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