#AF5073#AF5073

#AF5073 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.1% C 0.129 H 358.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF5073
RGBrgb(175, 80, 115)
HSLhsl(338, 37%, 50%)
HSVhsv(338, 54%, 69%)
CMYKcmyk(0%, 54.3%, 34.3%, 31.4%)
CIE-LABlab(47.09, 42.50, -1.14)
CIE-LCHlch(47.09, 42.51, 358.46°)
OKLaboklab(56.07% 0.1293 -0.0024)
OKLCHoklch(56.07% 0.129 358.9)
XYZxyz(23.6435, 16.0914, 18.0771)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5073 #50AF8C
analogous
#AF50A2 #AF5073 #AF5D50
triadic
#AF5073 #73AF50 #5073AF
tetradic
#AF5073 #A2AF50 #50AF8C #5D50AF
square
#AF5073 #A2AF50 #50AF8C #5D50AF
split-complementary
#AF5073 #50AF5D #50A2AF
monochromatic
#5B2A3C #853D57 #AF5073 #C27A95 #D5A4B6

Accessibility & contrast

On white

4.98
#AF5073 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF5073 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5073
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5073#FFFFFF#000000##FFFFFF
##AF50731.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6574
Deuteranopia (green-blind)
#787671
Tritanopia (blue-blind)
#BC495D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af5073;
/* rgb */ color: rgb(175, 80, 115);
/* oklch */ color: oklch(56.1% 0.129 358.9);
Tailwind
colors: {
  custom: {
    50: '#ca859b',
    500: '#af5073',
    950: '#000000',
  },
}
SCSS
$custom: #af5073;
$custom-light: #ca859b;
$custom-dark: #000000;
JSON
{
  "hex": "#af5073",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 115
  },
  "hsl": {
    "h": 337.895,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.12929,
    "h": 358.9
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#AF5073
secondary
#98C3B3
accent
#CDA35B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF5073

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

Preview Lab → · Contrast checker → · Palette generator →

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