#AF5378#AF5378

#AF5378 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.7% C 0.127 H 356.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF5378
RGBrgb(175, 83, 120)
HSLhsl(336, 37%, 51%)
HSVhsv(336, 53%, 69%)
CMYKcmyk(0%, 52.6%, 31.4%, 31.4%)
CIE-LABlab(47.83, 41.63, -3.09)
CIE-LCHlch(47.83, 41.74, 355.76°)
OKLaboklab(56.67% 0.1264 -0.0076)
OKLCHoklch(56.67% 0.127 356.6)
XYZxyz(24.1637, 16.6588, 19.7085)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5378 #53AF8A
analogous
#AF53A6 #AF5378 #AF5C53
triadic
#AF5378 #78AF53 #5378AF
tetradic
#AF5378 #A6AF53 #53AF8A #5C53AF
square
#AF5378 #A6AF53 #53AF8A #5C53AF
split-complementary
#AF5378 #53AF5C #53A6AF
monochromatic
#5D2B3F #863E5B #AF5378 #C27D99 #D6A7BA

Accessibility & contrast

On white

4.85
#AF5378 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF5378 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5378
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5378#FFFFFF#000000##FFFFFF
##AF53781.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606779
Deuteranopia (green-blind)
#787876
Tritanopia (blue-blind)
#BB4D61
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af5378;
/* rgb */ color: rgb(175, 83, 120);
/* oklch */ color: oklch(56.7% 0.127 356.6);
Tailwind
colors: {
  custom: {
    50: '#ca869e',
    500: '#af5378',
    950: '#000000',
  },
}
SCSS
$custom: #af5378;
$custom-light: #ca869e;
$custom-dark: #000000;
JSON
{
  "hex": "#af5378",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 120
  },
  "hsl": {
    "h": 335.87,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5667,
    "c": 0.12658,
    "h": 356.6
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#AF5378
secondary
#9AC3B3
accent
#CD9F5B
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF5378

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

Preview Lab → · Contrast checker → · Palette generator →

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