#AF3293#AF3293

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

Color values

HEX#AF3293
RGBrgb(175, 50, 147)
HSLhsl(313, 56%, 44%)
HSVhsv(313, 71%, 69%)
CMYKcmyk(0%, 71.4%, 16%, 31.4%)
CIE-LABlab(43.51, 59.89, -25.98)
CIE-LCHlch(43.51, 65.28, 336.55°)
OKLaboklab(53.82% 0.1773 -0.0704)
OKLCHoklch(53.82% 0.191 338.3)
XYZxyz(24.0868, 13.5040, 28.9361)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3293 #32AF4E
analogous
#8D32AF #AF3293 #AF3255
triadic
#AF3293 #93AF32 #3293AF
tetradic
#AF3293 #AF8D32 #32AF4E #3255AF
square
#AF3293 #AF8D32 #32AF4E #3255AF
split-complementary
#AF3293 #55AF32 #32AF8D
monochromatic
#501743 #7F246B #AF3293 #CD51B1 #DB81C7

Accessibility & contrast

On white

5.68
#AF3293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF3293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3293
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3293#FFFFFF#000000##FFFFFF
##AF32931.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A96
Deuteranopia (green-blind)
#616E90
Tritanopia (blue-blind)
#B9385E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3293;
/* rgb */ color: rgb(175, 50, 147);
/* oklch */ color: oklch(53.8% 0.191 338.3);
Tailwind
colors: {
  custom: {
    50: '#cb75b3',
    500: '#af3293',
    950: '#000000',
  },
}
SCSS
$custom: #af3293;
$custom-light: #cb75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3293",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 313.44,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53823,
    "c": 0.19071,
    "h": 338.3
  },
  "luminance": 0.13502
}

Semantic roles & 50–950 ramp

primary
#AF3293
secondary
#79C48A
accent
#DF6B49
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3293

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

Preview Lab → · Contrast checker → · Palette generator →

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