#AF4489#AF4489

#AF4489 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.3% C 0.160 H 344.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF4489
RGBrgb(175, 68, 137)
HSLhsl(321, 44%, 48%)
HSVhsv(321, 61%, 69%)
CMYKcmyk(0%, 61.1%, 21.7%, 31.4%)
CIE-LABlab(45.71, 51.18, -16.54)
CIE-LCHlch(45.71, 53.79, 342.09°)
OKLaboklab(55.29% 0.1534 -0.044)
OKLCHoklch(55.29% 0.16 344)
XYZxyz(24.2624, 15.0566, 25.2905)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4489 #44AF6A
analogous
#9F44AF #AF4489 #AF4454
triadic
#AF4489 #89AF44 #4489AF
tetradic
#AF4489 #AF9F44 #44AF6A #4454AF
square
#AF4489 #AF9F44 #44AF6A #4454AF
split-complementary
#AF4489 #54AF44 #44AF9F
monochromatic
#572244 #833366 #AF4489 #C56BA5 #D797C0

Accessibility & contrast

On white

5.24
#AF4489 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF4489 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4489
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4489#FFFFFF#000000##FFFFFF
##AF44891.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618B
Deuteranopia (green-blind)
#6C7386
Tritanopia (blue-blind)
#BA4460
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4489;
/* rgb */ color: rgb(175, 68, 137);
/* oklch */ color: oklch(55.3% 0.160 344.0);
Tailwind
colors: {
  custom: {
    50: '#ca7eab',
    500: '#af4489',
    950: '#000000',
  },
}
SCSS
$custom: #af4489;
$custom-light: #ca7eab;
$custom-dark: #000000;
JSON
{
  "hex": "#af4489",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 137
  },
  "hsl": {
    "h": 321.308,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55292,
    "c": 0.15959,
    "h": 344
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#AF4489
secondary
#8CC2A0
accent
#D48154
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4489

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

Preview Lab → · Contrast checker → · Palette generator →

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