#AF3184#AF3184

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

Color values

HEX#AF3184
RGBrgb(175, 49, 132)
HSLhsl(320, 56%, 44%)
HSVhsv(320, 72%, 69%)
CMYKcmyk(0%, 72%, 24.6%, 31.4%)
CIE-LABlab(42.73, 58.17, -18.06)
CIE-LCHlch(42.73, 60.91, 342.75°)
OKLaboklab(53.04% 0.1758 -0.0481)
OKLCHoklch(53.04% 0.182 344.7)
XYZxyz(22.9433, 12.9789, 23.1222)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3184 #31AF5C
analogous
#9B31AF #AF3184 #AF3145
triadic
#AF3184 #84AF31 #3184AF
tetradic
#AF3184 #AF9B31 #31AF5C #3145AF
square
#AF3184 #AF9B31 #31AF5C #3145AF
split-complementary
#AF3184 #45AF31 #31AF9B
monochromatic
#4F163C #7F2460 #AF3184 #CE4FA3 #DB7FBC

Accessibility & contrast

On white

5.84
#AF3184 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3184
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3184#FFFFFF#000000##FFFFFF
##AF31841.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5786
Deuteranopia (green-blind)
#656D81
Tritanopia (blue-blind)
#BB3056
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3184;
/* rgb */ color: rgb(175, 49, 132);
/* oklch */ color: oklch(53.0% 0.182 344.7);
Tailwind
colors: {
  custom: {
    50: '#cb74a8',
    500: '#af3184',
    950: '#000000',
  },
}
SCSS
$custom: #af3184;
$custom-light: #cb74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3184",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 132
  },
  "hsl": {
    "h": 320.476,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53041,
    "c": 0.18223,
    "h": 344.7
  },
  "luminance": 0.12977
}

Semantic roles & 50–950 ramp

primary
#AF3184
secondary
#78C492
accent
#E07C48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3184

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

Preview Lab → · Contrast checker → · Palette generator →

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