#AF5294#AF5294

#AF5294 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.6% C 0.145 H 339.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF5294
RGBrgb(175, 82, 148)
HSLhsl(317, 37%, 50%)
HSVhsv(317, 53%, 69%)
CMYKcmyk(0%, 53.1%, 15.4%, 31.4%)
CIE-LABlab(48.62, 46.21, -18.69)
CIE-LCHlch(48.62, 49.85, 337.98°)
OKLaboklab(57.59% 0.1362 -0.0501)
OKLCHoklch(57.59% 0.145 339.8)
XYZxyz(26.0422, 17.2886, 29.9767)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5294 #52AF6D
analogous
#9B52AF #AF5294 #AF5265
triadic
#AF5294 #94AF52 #5294AF
tetradic
#AF5294 #AF9B52 #52AF6D #5265AF
square
#AF5294 #AF9B52 #52AF6D #5265AF
split-complementary
#AF5294 #65AF52 #52AF9B
monochromatic
#5C2B4E #863E71 #AF5294 #C27CAE #D6A6C8

Accessibility & contrast

On white

4.71
#AF5294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AF5294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5294
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5294#FFFFFF#000000##FFFFFF
##AF52941.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566A96
Deuteranopia (green-blind)
#707992
Tritanopia (blue-blind)
#B8546C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5294;
/* rgb */ color: rgb(175, 82, 148);
/* oklch */ color: oklch(57.6% 0.145 339.8);
Tailwind
colors: {
  custom: {
    50: '#c986b3',
    500: '#af5294',
    950: '#000000',
  },
}
SCSS
$custom: #af5294;
$custom-light: #c986b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af5294",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 317.419,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57588,
    "c": 0.1451,
    "h": 339.8
  },
  "luminance": 0.17287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF5294

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

Preview Lab → · Contrast checker → · Palette generator →

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