#AF5283#AF5283

#AF5283 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 56.9% C 0.134 H 349.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF5283
RGBrgb(175, 82, 131)
HSLhsl(328, 37%, 50%)
HSVhsv(328, 53%, 69%)
CMYKcmyk(0%, 53.1%, 25.1%, 31.4%)
CIE-LABlab(47.99, 43.64, -9.47)
CIE-LCHlch(47.99, 44.66, 347.76°)
OKLaboklab(56.91% 0.1315 -0.0247)
OKLCHoklch(56.91% 0.134 349.4)
XYZxyz(24.7940, 16.7894, 23.4032)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5283 #52AF7E
analogous
#AC52AF #AF5283 #AF5254
triadic
#AF5283 #83AF52 #5283AF
tetradic
#AF5283 #AFAC52 #52AF7E #5254AF
square
#AF5283 #AFAC52 #52AF7E #5254AF
split-complementary
#AF5283 #54AF52 #52AFAC
monochromatic
#5C2B45 #863E64 #AF5283 #C27CA1 #D6A6BF

Accessibility & contrast

On white

4.82
#AF5283 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF5283 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5283
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5283#FFFFFF#000000##FFFFFF
##AF52831.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6885
Deuteranopia (green-blind)
#757881
Tritanopia (blue-blind)
#BA4F65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5283;
/* rgb */ color: rgb(175, 82, 131);
/* oklch */ color: oklch(56.9% 0.134 349.4);
Tailwind
colors: {
  custom: {
    50: '#c986a7',
    500: '#af5283',
    950: '#000000',
  },
}
SCSS
$custom: #af5283;
$custom-light: #c986a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5283",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 131
  },
  "hsl": {
    "h": 328.387,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56913,
    "c": 0.13378,
    "h": 349.4
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#AF5283
secondary
#9AC3AD
accent
#CD915B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AF5283

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

Preview Lab → · Contrast checker → · Palette generator →

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