#AF5683#AF5683

#AF5683 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.5% C 0.127 H 350.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF5683
RGBrgb(175, 86, 131)
HSLhsl(330, 36%, 51%)
HSVhsv(330, 51%, 69%)
CMYKcmyk(0%, 50.9%, 25.1%, 31.4%)
CIE-LABlab(48.77, 41.61, -8.30)
CIE-LCHlch(48.77, 42.43, 348.72°)
OKLaboklab(57.5% 0.1253 -0.0216)
OKLCHoklch(57.5% 0.127 350.2)
XYZxyz(25.1045, 17.4103, 23.5067)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5683 #56AF82
analogous
#AE56AF #AF5683 #AF5656
triadic
#AF5683 #83AF56 #5683AF
tetradic
#AF5683 #AFAE56 #56AF82 #5656AF
square
#AF5683 #AFAE56 #56AF82 #5656AF
split-complementary
#AF5683 #56AF56 #56AFAE
monochromatic
#5E2D46 #884064 #AF5683 #C380A1 #D6A9C0

Accessibility & contrast

On white

4.69
#AF5683 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AF5683 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5683
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5683#FFFFFF#000000##FFFFFF
##AF56831.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606A84
Deuteranopia (green-blind)
#777A81
Tritanopia (blue-blind)
#BA5367
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5683;
/* rgb */ color: rgb(175, 86, 131);
/* oklch */ color: oklch(57.5% 0.127 350.2);
Tailwind
colors: {
  custom: {
    50: '#c989a7',
    500: '#af5683',
    950: '#000000',
  },
}
SCSS
$custom: #af5683;
$custom-light: #c989a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5683",
  "rgb": {
    "r": 175,
    "g": 86,
    "b": 131
  },
  "hsl": {
    "h": 329.663,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57496,
    "c": 0.12715,
    "h": 350.2
  },
  "luminance": 0.17408
}

Semantic roles & 50–950 ramp

primary
#AF5683
secondary
#9DC4B0
accent
#CC935C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C0F
muted
#827D7F

Preview Lab

Preview with #AF5683

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

Preview Lab → · Contrast checker → · Palette generator →

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