#AF4495#AF4495

#AF4495 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.168 H 338.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF4495
RGBrgb(175, 68, 149)
HSLhsl(315, 44%, 48%)
HSVhsv(315, 61%, 69%)
CMYKcmyk(0%, 61.1%, 14.9%, 31.4%)
CIE-LABlab(46.20, 52.97, -23.01)
CIE-LCHlch(46.20, 57.75, 336.52°)
OKLaboklab(55.82% 0.156 -0.0621)
OKLCHoklch(55.82% 0.168 338.3)
XYZxyz(25.1715, 15.4202, 30.0786)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4495 #44AF5E
analogous
#9344AF #AF4495 #AF4460
triadic
#AF4495 #95AF44 #4495AF
tetradic
#AF4495 #AF9344 #44AF5E #4460AF
square
#AF4495 #AF9344 #44AF5E #4460AF
split-complementary
#AF4495 #60AF44 #44AF93
monochromatic
#57224A #83336F #AF4495 #C56BAF #D797C7

Accessibility & contrast

On white

5.14
#AF4495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF4495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4495
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4495#FFFFFF#000000##FFFFFF
##AF44951.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486398
Deuteranopia (green-blind)
#687492
Tritanopia (blue-blind)
#B84866
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4495;
/* rgb */ color: rgb(175, 68, 149);
/* oklch */ color: oklch(55.8% 0.168 338.3);
Tailwind
colors: {
  custom: {
    50: '#ca7eb4',
    500: '#af4495',
    950: '#000000',
  },
}
SCSS
$custom: #af4495;
$custom-light: #ca7eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4495",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 314.579,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.1679,
    "h": 338.3
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#AF4495
secondary
#8CC29A
accent
#D47354
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4495

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

Preview Lab → · Contrast checker → · Palette generator →

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