#AF5481#AF5481

#AF5481 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.1% C 0.129 H 351.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF5481
RGBrgb(175, 84, 129)
HSLhsl(330, 36%, 51%)
HSVhsv(330, 52%, 69%)
CMYKcmyk(0%, 52%, 26.3%, 31.4%)
CIE-LABlab(48.31, 42.35, -7.79)
CIE-LCHlch(48.31, 43.06, 349.58°)
OKLaboklab(57.13% 0.1278 -0.0202)
OKLCHoklch(57.13% 0.129 351)
XYZxyz(24.8128, 17.0417, 22.7472)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5481 #54AF82
analogous
#AF54AE #AF5481 #AF5454
triadic
#AF5481 #81AF54 #5481AF
tetradic
#AF5481 #AEAF54 #54AF82 #5454AF
square
#AF5481 #AEAF54 #54AF82 #5454AF
split-complementary
#AF5481 #54AF54 #54AEAF
monochromatic
#5D2C44 #873F63 #AF5481 #C37EA0 #D6A7BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF5481#FFFFFF#000000##FFFFFF
##AF54811.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)
#5F6982
Deuteranopia (green-blind)
#77797F
Tritanopia (blue-blind)
#BA5165
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5481;
/* rgb */ color: rgb(175, 84, 129);
/* oklch */ color: oklch(57.1% 0.129 351.0);
Tailwind
colors: {
  custom: {
    50: '#c987a5',
    500: '#af5481',
    950: '#000000',
  },
}
SCSS
$custom: #af5481;
$custom-light: #c987a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af5481",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 330.33,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5713,
    "c": 0.12936,
    "h": 351
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#AF5481
secondary
#9BC4B0
accent
#CC955C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AF5481

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

Preview Lab → · Contrast checker → · Palette generator →

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