#AF5677#AF5677

#AF5677 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.1% C 0.121 H 358.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AF5677
RGBrgb(175, 86, 119)
HSLhsl(338, 36%, 51%)
HSVhsv(338, 51%, 69%)
CMYKcmyk(0%, 50.9%, 32%, 31.4%)
CIE-LABlab(48.39, 39.96, -1.66)
CIE-LCHlch(48.39, 39.99, 357.63°)
OKLaboklab(57.08% 0.1213 -0.0038)
OKLCHoklch(57.08% 0.121 358.2)
XYZxyz(24.3378, 17.1037, 19.4687)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5677 #56AF8E
analogous
#AF56A3 #AF5677 #AF6156
triadic
#AF5677 #77AF56 #5677AF
tetradic
#AF5677 #A3AF56 #56AF8E #6156AF
square
#AF5677 #A3AF56 #56AF8E #6156AF
split-complementary
#AF5677 #56AF61 #56A3AF
monochromatic
#5E2D3F #88405B #AF5677 #C38098 #D6A9BA

Accessibility & contrast

On white

4.75
#AF5677 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AF5677 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5677
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5677#FFFFFF#000000##FFFFFF
##AF56771.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636978
Deuteranopia (green-blind)
#7A7975
Tritanopia (blue-blind)
#BB5062
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5677;
/* rgb */ color: rgb(175, 86, 119);
/* oklch */ color: oklch(57.1% 0.121 358.2);
Tailwind
colors: {
  custom: {
    50: '#ca889e',
    500: '#af5677',
    950: '#000000',
  },
}
SCSS
$custom: #af5677;
$custom-light: #ca889e;
$custom-dark: #000000;
JSON
{
  "hex": "#af5677",
  "rgb": {
    "r": 175,
    "g": 86,
    "b": 119
  },
  "hsl": {
    "h": 337.753,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57083,
    "c": 0.12134,
    "h": 358.2
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#AF5677
secondary
#9DC4B5
accent
#CCA25C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0E
muted
#827D7E

Preview Lab

Preview with #AF5677

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

Preview Lab → · Contrast checker → · Palette generator →

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