#AF5482#AF5482

#AF5482 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.2% C 0.130 H 350.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF5482
RGBrgb(175, 84, 130)
HSLhsl(330, 36%, 51%)
HSVhsv(330, 52%, 69%)
CMYKcmyk(0%, 52%, 25.7%, 31.4%)
CIE-LABlab(48.35, 42.49, -8.34)
CIE-LCHlch(48.35, 43.30, 348.89°)
OKLaboklab(57.17% 0.1281 -0.0216)
OKLCHoklch(57.17% 0.13 350.4)
XYZxyz(24.8796, 17.0685, 23.0990)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5482 #54AF81
analogous
#AE54AF #AF5482 #AF5454
triadic
#AF5482 #82AF54 #5482AF
tetradic
#AF5482 #AFAE54 #54AF81 #5454AF
square
#AF5482 #AFAE54 #54AF81 #5454AF
split-complementary
#AF5482 #54AF54 #54AFAE
monochromatic
#5D2C45 #873F63 #AF5482 #C37EA0 #D6A7BF

Accessibility & contrast

On white

4.76
#AF5482 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AF5482 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5482
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5482#FFFFFF#000000##FFFFFF
##AF54821.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6984
Deuteranopia (green-blind)
#777980
Tritanopia (blue-blind)
#BA5165
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5482;
/* rgb */ color: rgb(175, 84, 130);
/* oklch */ color: oklch(57.2% 0.130 350.4);
Tailwind
colors: {
  custom: {
    50: '#c987a6',
    500: '#af5482',
    950: '#000000',
  },
}
SCSS
$custom: #af5482;
$custom-light: #c987a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af5482",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 130
  },
  "hsl": {
    "h": 329.67,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57166,
    "c": 0.12992,
    "h": 350.4
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#AF5482
secondary
#9BC4AF
accent
#CC935C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AF5482

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

Preview Lab → · Contrast checker → · Palette generator →

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