#AF5075#AF5075

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

Color values

HEX#AF5075
RGBrgb(175, 80, 117)
HSLhsl(337, 37%, 50%)
HSVhsv(337, 54%, 69%)
CMYKcmyk(0%, 54.3%, 33.1%, 31.4%)
CIE-LABlab(47.15, 42.75, -2.26)
CIE-LCHlch(47.15, 42.81, 356.97°)
OKLaboklab(56.14% 0.13 -0.0054)
OKLCHoklch(56.14% 0.13 357.6)
XYZxyz(23.7599, 16.1379, 18.6898)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5075 #50AF8A
analogous
#AF50A4 #AF5075 #AF5B50
triadic
#AF5075 #75AF50 #5075AF
tetradic
#AF5075 #A4AF50 #50AF8A #5B50AF
square
#AF5075 #A4AF50 #50AF8A #5B50AF
split-complementary
#AF5075 #50AF5B #50A4AF
monochromatic
#5B2A3D #853D59 #AF5075 #C27A96 #D5A4B7

Accessibility & contrast

On white

4.97
#AF5075 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AF5075 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5075
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5075#FFFFFF#000000##FFFFFF
##AF50751.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6576
Deuteranopia (green-blind)
#777673
Tritanopia (blue-blind)
#BC495E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af5075;
/* rgb */ color: rgb(175, 80, 117);
/* oklch */ color: oklch(56.1% 0.130 357.6);
Tailwind
colors: {
  custom: {
    50: '#ca859c',
    500: '#af5075',
    950: '#000000',
  },
}
SCSS
$custom: #af5075;
$custom-light: #ca859c;
$custom-dark: #000000;
JSON
{
  "hex": "#af5075",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 117
  },
  "hsl": {
    "h": 336.632,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.13008,
    "h": 357.6
  },
  "luminance": 0.16136
}

Semantic roles & 50–950 ramp

primary
#AF5075
secondary
#98C3B2
accent
#CDA15B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF5075

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

Preview Lab → · Contrast checker → · Palette generator →

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