#AF449A#AF449A

#AF449A is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.0% C 0.172 H 336.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF449A
RGBrgb(175, 68, 154)
HSLhsl(312, 44%, 48%)
HSVhsv(312, 61%, 69%)
CMYKcmyk(0%, 61.1%, 12%, 31.4%)
CIE-LABlab(46.42, 53.75, -25.66)
CIE-LCHlch(46.42, 59.56, 334.48°)
OKLaboklab(56.05% 0.1569 -0.0696)
OKLCHoklch(56.05% 0.172 336.1)
XYZxyz(25.5793, 15.5833, 32.2263)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF449A #44AF59
analogous
#8F44AF #AF449A #AF4464
triadic
#AF449A #9AAF44 #449AAF
tetradic
#AF449A #AF8F44 #44AF59 #4464AF
square
#AF449A #AF8F44 #44AF59 #4464AF
split-complementary
#AF449A #64AF44 #44AF8F
monochromatic
#57224C #833373 #AF449A #C56BB4 #D797CA

Accessibility & contrast

On white

5.10
#AF449A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF449A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF449A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF449A#FFFFFF#000000##FFFFFF
##AF449A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45649D
Deuteranopia (green-blind)
#667497
Tritanopia (blue-blind)
#B74A69
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af449a;
/* rgb */ color: rgb(175, 68, 154);
/* oklch */ color: oklch(56.0% 0.172 336.1);
Tailwind
colors: {
  custom: {
    50: '#ca7eb8',
    500: '#af449a',
    950: '#000000',
  },
}
SCSS
$custom: #af449a;
$custom-light: #ca7eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#af449a",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 154
  },
  "hsl": {
    "h": 311.776,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56048,
    "c": 0.17164,
    "h": 336.1
  },
  "luminance": 0.15581
}

Semantic roles & 50–950 ramp

primary
#AF449A
secondary
#8CC297
accent
#D46D54
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF449A

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

Preview Lab → · Contrast checker → · Palette generator →

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