#AF447F#AF447F

#AF447F is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.9% C 0.154 H 349.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF447F
RGBrgb(175, 68, 127)
HSLhsl(327, 44%, 48%)
HSVhsv(327, 61%, 69%)
CMYKcmyk(0%, 61.1%, 27.4%, 31.4%)
CIE-LABlab(45.34, 49.79, -11.05)
CIE-LCHlch(45.34, 51.00, 347.49°)
OKLaboklab(54.89% 0.1508 -0.0289)
OKLCHoklch(54.89% 0.154 349.2)
XYZxyz(23.5780, 14.7828, 21.6862)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF447F #44AF74
analogous
#AA44AF #AF447F #AF4449
triadic
#AF447F #7FAF44 #447FAF
tetradic
#AF447F #AFAA44 #44AF74 #4449AF
square
#AF447F #AFAA44 #44AF74 #4449AF
split-complementary
#AF447F #49AF44 #44AFAA
monochromatic
#57223F #83335F #AF447F #C56B9D #D797BA

Accessibility & contrast

On white

5.31
#AF447F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AF447F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF447F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF447F#FFFFFF#000000##FFFFFF
##AF447F1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F81
Deuteranopia (green-blind)
#6F727C
Tritanopia (blue-blind)
#BB405C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af447f;
/* rgb */ color: rgb(175, 68, 127);
/* oklch */ color: oklch(54.9% 0.154 349.2);
Tailwind
colors: {
  custom: {
    50: '#ca7ea4',
    500: '#af447f',
    950: '#000000',
  },
}
SCSS
$custom: #af447f;
$custom-light: #ca7ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#af447f",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 127
  },
  "hsl": {
    "h": 326.916,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5489,
    "c": 0.15353,
    "h": 349.2
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#AF447F
secondary
#8CC2A5
accent
#D48D54
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF447F

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

Preview Lab → · Contrast checker → · Palette generator →

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