#AF5293#AF5293

#AF5293 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.5% C 0.144 H 340.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AF5293
RGBrgb(175, 82, 147)
HSLhsl(318, 37%, 50%)
HSVhsv(318, 53%, 69%)
CMYKcmyk(0%, 53.1%, 16%, 31.4%)
CIE-LABlab(48.58, 46.05, -18.16)
CIE-LCHlch(48.58, 49.50, 338.48°)
OKLaboklab(57.55% 0.1359 -0.0486)
OKLCHoklch(57.55% 0.144 340.3)
XYZxyz(25.9633, 17.2571, 29.5616)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5293 #52AF6E
analogous
#9D52AF #AF5293 #AF5264
triadic
#AF5293 #93AF52 #5293AF
tetradic
#AF5293 #AF9D52 #52AF6E #5264AF
square
#AF5293 #AF9D52 #52AF6E #5264AF
split-complementary
#AF5293 #64AF52 #52AF9D
monochromatic
#5C2B4D #863E70 #AF5293 #C27CAD #D6A6C7

Accessibility & contrast

On white

4.72
#AF5293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AF5293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5293
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5293#FFFFFF#000000##FFFFFF
##AF52931.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576A95
Deuteranopia (green-blind)
#707991
Tritanopia (blue-blind)
#B8546C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5293;
/* rgb */ color: rgb(175, 82, 147);
/* oklch */ color: oklch(57.5% 0.144 340.3);
Tailwind
colors: {
  custom: {
    50: '#c986b2',
    500: '#af5293',
    950: '#000000',
  },
}
SCSS
$custom: #af5293;
$custom-light: #c986b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af5293",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 318.065,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57546,
    "c": 0.14435,
    "h": 340.3
  },
  "luminance": 0.17255
}

Semantic roles & 50–950 ramp

primary
#AF5293
secondary
#9AC3A6
accent
#CD7D5B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF5293

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

Preview Lab → · Contrast checker → · Palette generator →

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