#AF5374#AF5374

#AF5374 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.5% C 0.125 H 359.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF5374
RGBrgb(175, 83, 116)
HSLhsl(338, 37%, 51%)
HSVhsv(338, 53%, 69%)
CMYKcmyk(0%, 52.6%, 33.7%, 31.4%)
CIE-LABlab(47.71, 41.11, -0.85)
CIE-LCHlch(47.71, 41.12, 358.82°)
OKLaboklab(56.54% 0.125 -0.0017)
OKLCHoklch(56.54% 0.125 359.2)
XYZxyz(23.9260, 16.5637, 18.4567)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5374 #53AF8E
analogous
#AF53A2 #AF5374 #AF6053
triadic
#AF5374 #74AF53 #5374AF
tetradic
#AF5374 #A2AF53 #53AF8E #6053AF
square
#AF5374 #A2AF53 #53AF8E #6053AF
split-complementary
#AF5374 #53AF60 #53A2AF
monochromatic
#5D2B3D #863E58 #AF5374 #C27D96 #D6A7B8

Accessibility & contrast

On white

4.87
#AF5374 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AF5374 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5374
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5374#FFFFFF#000000##FFFFFF
##AF53741.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616775
Deuteranopia (green-blind)
#797872
Tritanopia (blue-blind)
#BC4C5F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af5374;
/* rgb */ color: rgb(175, 83, 116);
/* oklch */ color: oklch(56.5% 0.125 359.2);
Tailwind
colors: {
  custom: {
    50: '#ca869b',
    500: '#af5374',
    950: '#000000',
  },
}
SCSS
$custom: #af5374;
$custom-light: #ca869b;
$custom-dark: #000000;
JSON
{
  "hex": "#af5374",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 116
  },
  "hsl": {
    "h": 338.478,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56539,
    "c": 0.12496,
    "h": 359.2
  },
  "luminance": 0.16561
}

Semantic roles & 50–950 ramp

primary
#AF5374
secondary
#9AC3B5
accent
#CDA45B
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF5374

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

Preview Lab → · Contrast checker → · Palette generator →

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