#AF526B#AF526B

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

Color values

HEX#AF526B
RGBrgb(175, 82, 107)
HSLhsl(344, 37%, 50%)
HSVhsv(344, 53%, 69%)
CMYKcmyk(0%, 53.1%, 38.9%, 31.4%)
CIE-LABlab(47.25, 40.52, 3.94)
CIE-LCHlch(47.25, 40.71, 5.56°)
OKLaboklab(56.11% 0.1232 0.0107)
OKLCHoklch(56.11% 0.124 5)
XYZxyz(23.3516, 16.2124, 15.8066)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF526B #52AF96
analogous
#AF5299 #AF526B #AF6752
triadic
#AF526B #6BAF52 #526BAF
tetradic
#AF526B #99AF52 #52AF96 #6752AF
square
#AF526B #99AF52 #52AF96 #6752AF
split-complementary
#AF526B #52AF67 #5299AF
monochromatic
#5C2B38 #863E51 #AF526B #C27C8F #D6A6B3

Accessibility & contrast

On white

4.95
#AF526B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF526B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF526B#FFFFFF#000000##FFFFFF
##AF526B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63656C
Deuteranopia (green-blind)
#7B7769
Tritanopia (blue-blind)
#BC495B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af526b;
/* rgb */ color: rgb(175, 82, 107);
/* oklch */ color: oklch(56.1% 0.124 5.0);
Tailwind
colors: {
  custom: {
    50: '#ca8695',
    500: '#af526b',
    950: '#000000',
  },
}
SCSS
$custom: #af526b;
$custom-light: #ca8695;
$custom-dark: #000000;
JSON
{
  "hex": "#af526b",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 107
  },
  "hsl": {
    "h": 343.871,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56113,
    "c": 0.12368,
    "h": 5
  },
  "luminance": 0.1621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF526B

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

Preview Lab → · Contrast checker → · Palette generator →

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