#AF447B#AF447B

#AF447B is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.7% C 0.151 H 351.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF447B
RGBrgb(175, 68, 123)
HSLhsl(329, 44%, 48%)
HSVhsv(329, 61%, 69%)
CMYKcmyk(0%, 61.1%, 29.7%, 31.4%)
CIE-LABlab(45.19, 49.26, -8.82)
CIE-LCHlch(45.19, 50.05, 349.84°)
OKLaboklab(54.74% 0.1496 -0.0228)
OKLCHoklch(54.74% 0.151 351.3)
XYZxyz(23.3225, 14.6806, 20.3404)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF447B #44AF78
analogous
#AE44AF #AF447B #AF4445
triadic
#AF447B #7BAF44 #447BAF
tetradic
#AF447B #AFAE44 #44AF78 #4445AF
square
#AF447B #AFAE44 #44AF78 #4445AF
split-complementary
#AF447B #45AF44 #44AFAE
monochromatic
#57223D #83335C #AF447B #C56B99 #D797B8

Accessibility & contrast

On white

5.34
#AF447B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AF447B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF447B
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF447B#FFFFFF#000000##FFFFFF
##AF447B1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7D
Deuteranopia (green-blind)
#707278
Tritanopia (blue-blind)
#BB3F5A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af447b;
/* rgb */ color: rgb(175, 68, 123);
/* oklch */ color: oklch(54.7% 0.151 351.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ea1',
    500: '#af447b',
    950: '#000000',
  },
}
SCSS
$custom: #af447b;
$custom-light: #ca7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#af447b",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 123
  },
  "hsl": {
    "h": 329.159,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.15136,
    "h": 351.3
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#AF447B
secondary
#8CC2A7
accent
#D49254
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF447B

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

Preview Lab → · Contrast checker → · Palette generator →

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