#AF449C#AF449C

#AF449C is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.1% C 0.173 H 335.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AF449C
RGBrgb(175, 68, 156)
HSLhsl(311, 44%, 48%)
HSVhsv(311, 61%, 69%)
CMYKcmyk(0%, 61.1%, 10.9%, 31.4%)
CIE-LABlab(46.51, 54.07, -26.71)
CIE-LCHlch(46.51, 60.31, 333.71°)
OKLaboklab(56.14% 0.1572 -0.0726)
OKLCHoklch(56.14% 0.173 335.2)
XYZxyz(25.7473, 15.6505, 33.1108)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF449C #44AF57
analogous
#8C44AF #AF449C #AF4467
triadic
#AF449C #9CAF44 #449CAF
tetradic
#AF449C #AF8C44 #44AF57 #4467AF
square
#AF449C #AF8C44 #44AF57 #4467AF
split-complementary
#AF449C #67AF44 #44AF8C
monochromatic
#57224D #833375 #AF449C #C56BB5 #D797CB

Accessibility & contrast

On white

5.08
#AF449C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF449C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF449C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF449C#FFFFFF#000000##FFFFFF
##AF449C1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44649F
Deuteranopia (green-blind)
#657499
Tritanopia (blue-blind)
#B74A6A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af449c;
/* rgb */ color: rgb(175, 68, 156);
/* oklch */ color: oklch(56.1% 0.173 335.2);
Tailwind
colors: {
  custom: {
    50: '#ca7eb9',
    500: '#af449c',
    950: '#000000',
  },
}
SCSS
$custom: #af449c;
$custom-light: #ca7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#af449c",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 156
  },
  "hsl": {
    "h": 310.654,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56143,
    "c": 0.17318,
    "h": 335.2
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#AF449C
secondary
#8CC296
accent
#D46B54
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF449C

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

Preview Lab → · Contrast checker → · Palette generator →

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