#AF3282#AF3282

#AF3282 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.180 H 345.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF3282
RGBrgb(175, 50, 130)
HSLhsl(322, 56%, 44%)
HSVhsv(322, 71%, 69%)
CMYKcmyk(0%, 71.4%, 25.7%, 31.4%)
CIE-LABlab(42.78, 57.55, -16.77)
CIE-LCHlch(42.78, 59.94, 343.76°)
OKLaboklab(53.05% 0.1742 -0.0445)
OKLCHoklch(53.05% 0.18 345.7)
XYZxyz(22.8500, 13.0093, 22.4224)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3282 #32AF5F
analogous
#9E32AF #AF3282 #AF3244
triadic
#AF3282 #82AF32 #3282AF
tetradic
#AF3282 #AF9E32 #32AF5F #3244AF
square
#AF3282 #AF9E32 #32AF5F #3244AF
split-complementary
#AF3282 #44AF32 #32AF9E
monochromatic
#50173B #7F245F #AF3282 #CD51A1 #DB81BA

Accessibility & contrast

On white

5.83
#AF3282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF3282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3282
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3282#FFFFFF#000000##FFFFFF
##AF32821.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415784
Deuteranopia (green-blind)
#666D7F
Tritanopia (blue-blind)
#BB3055
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3282;
/* rgb */ color: rgb(175, 50, 130);
/* oklch */ color: oklch(53.0% 0.180 345.7);
Tailwind
colors: {
  custom: {
    50: '#cb75a6',
    500: '#af3282',
    950: '#000000',
  },
}
SCSS
$custom: #af3282;
$custom-light: #cb75a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3282",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 321.6,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53047,
    "c": 0.17983,
    "h": 345.7
  },
  "luminance": 0.13007
}

Semantic roles & 50–950 ramp

primary
#AF3282
secondary
#79C494
accent
#DF7F49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3282

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

Preview Lab → · Contrast checker → · Palette generator →

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