#AF3292#AF3292

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

Color values

HEX#AF3292
RGBrgb(175, 50, 146)
HSLhsl(314, 56%, 44%)
HSVhsv(314, 71%, 69%)
CMYKcmyk(0%, 71.4%, 16.6%, 31.4%)
CIE-LABlab(43.47, 59.74, -25.44)
CIE-LCHlch(43.47, 64.94, 336.93°)
OKLaboklab(53.77% 0.1771 -0.0689)
OKLCHoklch(53.77% 0.19 338.8)
XYZxyz(24.0087, 13.4727, 28.5246)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3292 #32AF4F
analogous
#8E32AF #AF3292 #AF3254
triadic
#AF3292 #92AF32 #3292AF
tetradic
#AF3292 #AF8E32 #32AF4F #3254AF
square
#AF3292 #AF8E32 #32AF4F #3254AF
split-complementary
#AF3292 #54AF32 #32AF8E
monochromatic
#501743 #7F246A #AF3292 #CD51B0 #DB81C6

Accessibility & contrast

On white

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

On black

3.69
#AF3292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF3292#FFFFFF#000000##FFFFFF
##AF32921.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A95
Deuteranopia (green-blind)
#616E8F
Tritanopia (blue-blind)
#B9375E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3292;
/* rgb */ color: rgb(175, 50, 146);
/* oklch */ color: oklch(53.8% 0.190 338.8);
Tailwind
colors: {
  custom: {
    50: '#cb75b2',
    500: '#af3292',
    950: '#000000',
  },
}
SCSS
$custom: #af3292;
$custom-light: #cb75b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3292",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 313.92,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.19003,
    "h": 338.8
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3292

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

Preview Lab → · Contrast checker → · Palette generator →

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