#AF526A#AF526A

#AF526A is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.1% C 0.123 H 5.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF526A
RGBrgb(175, 82, 106)
HSLhsl(345, 37%, 50%)
HSVhsv(345, 53%, 69%)
CMYKcmyk(0%, 53.1%, 39.4%, 31.4%)
CIE-LABlab(47.22, 40.40, 4.51)
CIE-LCHlch(47.22, 40.65, 6.37°)
OKLaboklab(56.08% 0.1228 0.0121)
OKLCHoklch(56.08% 0.123 5.6)
XYZxyz(23.2993, 16.1915, 15.5311)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF526A #52AF97
analogous
#AF5298 #AF526A #AF6852
triadic
#AF526A #6AAF52 #526AAF
tetradic
#AF526A #98AF52 #52AF97 #6852AF
square
#AF526A #98AF52 #52AF97 #6852AF
split-complementary
#AF526A #52AF68 #5298AF
monochromatic
#5C2B37 #863E50 #AF526A #C27C8E #D6A6B2

Accessibility & contrast

On white

4.96
#AF526A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF526A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF526A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF526A#FFFFFF#000000##FFFFFF
##AF526A1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63656B
Deuteranopia (green-blind)
#7B7768
Tritanopia (blue-blind)
#BD495B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af526a;
/* rgb */ color: rgb(175, 82, 106);
/* oklch */ color: oklch(56.1% 0.123 5.6);
Tailwind
colors: {
  custom: {
    50: '#ca8694',
    500: '#af526a',
    950: '#000000',
  },
}
SCSS
$custom: #af526a;
$custom-light: #ca8694;
$custom-dark: #000000;
JSON
{
  "hex": "#af526a",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 106
  },
  "hsl": {
    "h": 344.516,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56084,
    "c": 0.12344,
    "h": 5.6
  },
  "luminance": 0.16189
}

Semantic roles & 50–950 ramp

primary
#AF526A
secondary
#9AC3B8
accent
#CDAF5B
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF526A

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

Preview Lab → · Contrast checker → · Palette generator →

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