#AF507A#AF507A

#AF507A is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.3% C 0.132 H 354.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF507A
RGBrgb(175, 80, 122)
HSLhsl(333, 37%, 50%)
HSVhsv(333, 54%, 69%)
CMYKcmyk(0%, 54.3%, 30.3%, 31.4%)
CIE-LABlab(47.31, 43.40, -5.06)
CIE-LCHlch(47.31, 43.70, 353.35°)
OKLaboklab(56.31% 0.1317 -0.0128)
OKLCHoklch(56.31% 0.132 354.4)
XYZxyz(24.0617, 16.2587, 20.2796)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF507A #50AF85
analogous
#AF50A9 #AF507A #AF5650
triadic
#AF507A #7AAF50 #507AAF
tetradic
#AF507A #A9AF50 #50AF85 #5650AF
square
#AF507A #A9AF50 #50AF85 #5650AF
split-complementary
#AF507A #50AF56 #50A9AF
monochromatic
#5B2A3F #853D5D #AF507A #C27A9A #D5A4BA

Accessibility & contrast

On white

4.94
#AF507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF507A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF507A#FFFFFF#000000##FFFFFF
##AF507A1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D657B
Deuteranopia (green-blind)
#767778
Tritanopia (blue-blind)
#BB4B60
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af507a;
/* rgb */ color: rgb(175, 80, 122);
/* oklch */ color: oklch(56.3% 0.132 354.4);
Tailwind
colors: {
  custom: {
    50: '#ca85a0',
    500: '#af507a',
    950: '#000000',
  },
}
SCSS
$custom: #af507a;
$custom-light: #ca85a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af507a",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 333.474,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.56305,
    "c": 0.13228,
    "h": 354.4
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#AF507A
secondary
#98C3B0
accent
#CD9B5B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF507A

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

Preview Lab → · Contrast checker → · Palette generator →

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