#AF5495#AF5495

#AF5495 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.9% C 0.143 H 339.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF5495
RGBrgb(175, 84, 149)
HSLhsl(317, 36%, 51%)
HSVhsv(317, 52%, 69%)
CMYKcmyk(0%, 52%, 14.9%, 31.4%)
CIE-LABlab(49.04, 45.37, -18.65)
CIE-LCHlch(49.04, 49.05, 337.66°)
OKLaboklab(57.91% 0.1334 -0.05)
OKLCHoklch(57.91% 0.143 339.5)
XYZxyz(26.2747, 17.6265, 30.4463)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5495 #54AF6E
analogous
#9B54AF #AF5495 #AF5467
triadic
#AF5495 #95AF54 #5495AF
tetradic
#AF5495 #AF9B54 #54AF6E #5467AF
square
#AF5495 #AF9B54 #54AF6E #5467AF
split-complementary
#AF5495 #67AF54 #54AF9B
monochromatic
#5D2C4F #873F72 #AF5495 #C37EAF #D6A7C9

Accessibility & contrast

On white

4.64
#AF5495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AF5495 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5495
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5495#FFFFFF#000000##FFFFFF
##AF54951.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586C97
Deuteranopia (green-blind)
#717A93
Tritanopia (blue-blind)
#B8566E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5495;
/* rgb */ color: rgb(175, 84, 149);
/* oklch */ color: oklch(57.9% 0.143 339.5);
Tailwind
colors: {
  custom: {
    50: '#c988b4',
    500: '#af5495',
    950: '#000000',
  },
}
SCSS
$custom: #af5495;
$custom-light: #c988b4;
$custom-dark: #000000;
JSON
{
  "hex": "#af5495",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 149
  },
  "hsl": {
    "h": 317.143,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57912,
    "c": 0.14251,
    "h": 339.5
  },
  "luminance": 0.17625
}

Semantic roles & 50–950 ramp

primary
#AF5495
secondary
#9BC4A7
accent
#CC7C5C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF5495

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

Preview Lab → · Contrast checker → · Palette generator →

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