#AF5693#AF5693

#AF5693 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.1% C 0.138 H 340.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AF5693
RGBrgb(175, 86, 147)
HSLhsl(319, 36%, 51%)
HSVhsv(319, 51%, 69%)
CMYKcmyk(0%, 50.9%, 16%, 31.4%)
CIE-LABlab(49.35, 44.04, -16.99)
CIE-LCHlch(49.35, 47.20, 338.91°)
OKLaboklab(58.12% 0.1299 -0.0454)
OKLCHoklch(58.12% 0.138 340.7)
XYZxyz(26.2738, 17.8781, 29.6651)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5693 #56AF72
analogous
#9E56AF #AF5693 #AF5666
triadic
#AF5693 #93AF56 #5693AF
tetradic
#AF5693 #AF9E56 #56AF72 #5666AF
square
#AF5693 #AF9E56 #56AF72 #5666AF
split-complementary
#AF5693 #66AF56 #56AF9E
monochromatic
#5E2D4E #884071 #AF5693 #C380AE #D6A9C8

Accessibility & contrast

On white

4.59
#AF5693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AF5693 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5693
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5693#FFFFFF#000000##FFFFFF
##AF56931.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6C95
Deuteranopia (green-blind)
#737B91
Tritanopia (blue-blind)
#B8576E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af5693;
/* rgb */ color: rgb(175, 86, 147);
/* oklch */ color: oklch(58.1% 0.138 340.7);
Tailwind
colors: {
  custom: {
    50: '#c989b2',
    500: '#af5693',
    950: '#000000',
  },
}
SCSS
$custom: #af5693;
$custom-light: #c989b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af5693",
  "rgb": {
    "r": 175,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 318.876,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58115,
    "c": 0.13765,
    "h": 340.7
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#AF5693
secondary
#9DC4A9
accent
#CC7F5C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF5693

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

Preview Lab → · Contrast checker → · Palette generator →

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