#AF526E#AF526E

#AF526E is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.2% C 0.124 H 2.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF526E
RGBrgb(175, 82, 110)
HSLhsl(342, 37%, 50%)
HSVhsv(342, 53%, 69%)
CMYKcmyk(0%, 53.1%, 37.1%, 31.4%)
CIE-LABlab(47.34, 40.88, 2.24)
CIE-LCHlch(47.34, 40.94, 3.14°)
OKLaboklab(56.2% 0.1243 0.0063)
OKLCHoklch(56.2% 0.125 2.9)
XYZxyz(23.5122, 16.2767, 16.6523)
Luminance0.1627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF526E #52AF93
analogous
#AF529D #AF526E #AF6452
triadic
#AF526E #6EAF52 #526EAF
tetradic
#AF526E #9DAF52 #52AF93 #6452AF
square
#AF526E #9DAF52 #52AF93 #6452AF
split-complementary
#AF526E #52AF64 #529DAF
monochromatic
#5C2B39 #863E54 #AF526E #C27C91 #D6A6B4

Accessibility & contrast

On white

4.94
#AF526E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF526E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF526E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF526E#FFFFFF#000000##FFFFFF
##AF526E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62656F
Deuteranopia (green-blind)
#7A776C
Tritanopia (blue-blind)
#BC4A5C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af526e;
/* rgb */ color: rgb(175, 82, 110);
/* oklch */ color: oklch(56.2% 0.124 2.9);
Tailwind
colors: {
  custom: {
    50: '#ca8697',
    500: '#af526e',
    950: '#000000',
  },
}
SCSS
$custom: #af526e;
$custom-light: #ca8697;
$custom-dark: #000000;
JSON
{
  "hex": "#af526e",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 110
  },
  "hsl": {
    "h": 341.935,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56204,
    "c": 0.1245,
    "h": 2.9
  },
  "luminance": 0.16274
}

Semantic roles & 50–950 ramp

primary
#AF526E
secondary
#9AC3B7
accent
#CDAB5B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF526E

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

Preview Lab → · Contrast checker → · Palette generator →

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