#AF4789#AF4789

#AF4789 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.7% C 0.155 H 344.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF4789
RGBrgb(175, 71, 137)
HSLhsl(322, 42%, 48%)
HSVhsv(322, 59%, 69%)
CMYKcmyk(0%, 59.4%, 21.7%, 31.4%)
CIE-LABlab(46.22, 49.81, -15.77)
CIE-LCHlch(46.22, 52.25, 342.43°)
OKLaboklab(55.66% 0.1493 -0.0419)
OKLCHoklch(55.66% 0.155 344.3)
XYZxyz(24.4485, 15.4288, 25.3525)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4789 #47AF6D
analogous
#A147AF #AF4789 #AF4755
triadic
#AF4789 #89AF47 #4789AF
tetradic
#AF4789 #AFA147 #47AF6D #4755AF
square
#AF4789 #AFA147 #47AF6D #4755AF
split-complementary
#AF4789 #55AF47 #47AFA1
monochromatic
#582445 #833567 #AF4789 #C46FA5 #D69AC0

Accessibility & contrast

On white

5.14
#AF4789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF4789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4789
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4789#FFFFFF#000000##FFFFFF
##AF47891.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50628B
Deuteranopia (green-blind)
#6E7486
Tritanopia (blue-blind)
#BA4662
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4789;
/* rgb */ color: rgb(175, 71, 137);
/* oklch */ color: oklch(55.7% 0.155 344.3);
Tailwind
colors: {
  custom: {
    50: '#ca80ab',
    500: '#af4789',
    950: '#000000',
  },
}
SCSS
$custom: #af4789;
$custom-light: #ca80ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af4789",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 321.923,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55664,
    "c": 0.15503,
    "h": 344.3
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#AF4789
secondary
#8FC2A2
accent
#D28356
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4789

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

Preview Lab → · Contrast checker → · Palette generator →

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