#AF3294#AF3294

#AF3294 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.9% C 0.191 H 337.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AF3294
RGBrgb(175, 50, 148)
HSLhsl(313, 56%, 44%)
HSVhsv(313, 71%, 69%)
CMYKcmyk(0%, 71.4%, 15.4%, 31.4%)
CIE-LABlab(43.56, 60.03, -26.51)
CIE-LCHlch(43.56, 65.63, 336.18°)
OKLaboklab(53.87% 0.1774 -0.0719)
OKLCHoklch(53.87% 0.191 337.9)
XYZxyz(24.1656, 13.5355, 29.3511)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3294 #32AF4D
analogous
#8C32AF #AF3294 #AF3256
triadic
#AF3294 #94AF32 #3294AF
tetradic
#AF3294 #AF8C32 #32AF4D #3256AF
square
#AF3294 #AF8C32 #32AF4D #3256AF
split-complementary
#AF3294 #56AF32 #32AF8C
monochromatic
#501743 #7F246C #AF3294 #CD51B2 #DB81C7

Accessibility & contrast

On white

5.67
#AF3294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF3294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3294
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3294#FFFFFF#000000##FFFFFF
##AF32941.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B97
Deuteranopia (green-blind)
#606E91
Tritanopia (blue-blind)
#B9385F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3294;
/* rgb */ color: rgb(175, 50, 148);
/* oklch */ color: oklch(53.9% 0.191 337.9);
Tailwind
colors: {
  custom: {
    50: '#ca75b3',
    500: '#af3294',
    950: '#000000',
  },
}
SCSS
$custom: #af3294;
$custom-light: #ca75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3294",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 312.96,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53871,
    "c": 0.1914,
    "h": 337.9
  },
  "luminance": 0.13533
}

Semantic roles & 50–950 ramp

primary
#AF3294
secondary
#79C489
accent
#DF6949
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3294

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

Preview Lab → · Contrast checker → · Palette generator →

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