#AF448B#AF448B

#AF448B is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.4% C 0.161 H 343.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF448B
RGBrgb(175, 68, 139)
HSLhsl(320, 44%, 48%)
HSVhsv(320, 61%, 69%)
CMYKcmyk(0%, 61.1%, 20.6%, 31.4%)
CIE-LABlab(45.79, 51.47, -17.63)
CIE-LCHlch(45.79, 54.40, 341.09°)
OKLaboklab(55.38% 0.1539 -0.047)
OKLCHoklch(55.38% 0.161 343)
XYZxyz(24.4072, 15.1145, 26.0530)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF448B #44AF68
analogous
#9E44AF #AF448B #AF4455
triadic
#AF448B #8BAF44 #448BAF
tetradic
#AF448B #AF9E44 #44AF68 #4455AF
square
#AF448B #AF9E44 #44AF68 #4455AF
split-complementary
#AF448B #55AF44 #44AF9E
monochromatic
#572245 #833368 #AF448B #C56BA7 #D797C1

Accessibility & contrast

On white

5.22
#AF448B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF448B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF448B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF448B#FFFFFF#000000##FFFFFF
##AF448B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#6B7388
Tritanopia (blue-blind)
#B94461
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af448b;
/* rgb */ color: rgb(175, 68, 139);
/* oklch */ color: oklch(55.4% 0.161 343.0);
Tailwind
colors: {
  custom: {
    50: '#ca7ead',
    500: '#af448b',
    950: '#000000',
  },
}
SCSS
$custom: #af448b;
$custom-light: #ca7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#af448b",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 139
  },
  "hsl": {
    "h": 320.187,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55376,
    "c": 0.16091,
    "h": 343
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#AF448B
secondary
#8CC29F
accent
#D47F54
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF448B

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

Preview Lab → · Contrast checker → · Palette generator →

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