#AF5175#AF5175

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

Color values

HEX#AF5175
RGBrgb(175, 81, 117)
HSLhsl(337, 37%, 50%)
HSVhsv(337, 54%, 69%)
CMYKcmyk(0%, 53.7%, 33.1%, 31.4%)
CIE-LABlab(47.35, 42.25, -1.98)
CIE-LCHlch(47.35, 42.30, 357.32°)
OKLaboklab(56.28% 0.1284 -0.0046)
OKLCHoklch(56.28% 0.129 357.9)
XYZxyz(23.8336, 16.2855, 18.7144)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5175 #51AF8B
analogous
#AF51A4 #AF5175 #AF5C51
triadic
#AF5175 #75AF51 #5175AF
tetradic
#AF5175 #A4AF51 #51AF8B #5C51AF
square
#AF5175 #A4AF51 #51AF8B #5C51AF
split-complementary
#AF5175 #51AF5C #51A4AF
monochromatic
#5C2A3D #853D59 #AF5175 #C27B96 #D6A5B8

Accessibility & contrast

On white

4.93
#AF5175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AF5175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5175
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5175#FFFFFF#000000##FFFFFF
##AF51751.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af5175;
/* rgb */ color: rgb(175, 81, 117);
/* oklch */ color: oklch(56.3% 0.129 357.9);
Tailwind
colors: {
  custom: {
    50: '#ca859c',
    500: '#af5175',
    950: '#000000',
  },
}
SCSS
$custom: #af5175;
$custom-light: #ca859c;
$custom-dark: #000000;
JSON
{
  "hex": "#af5175",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 117
  },
  "hsl": {
    "h": 337.021,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5628,
    "c": 0.1285,
    "h": 357.9
  },
  "luminance": 0.16283
}

Semantic roles & 50–950 ramp

primary
#AF5175
secondary
#99C3B3
accent
#CDA15B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF5175

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

Preview Lab → · Contrast checker → · Palette generator →

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