#AF4184#AF4184

#AF4184 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.7% C 0.161 H 346.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AF4184
RGBrgb(175, 65, 132)
HSLhsl(323, 46%, 47%)
HSVhsv(323, 63%, 69%)
CMYKcmyk(0%, 62.9%, 24.6%, 31.4%)
CIE-LABlab(45.03, 51.80, -14.55)
CIE-LCHlch(45.03, 53.81, 344.31°)
OKLaboklab(54.73% 0.1562 -0.0385)
OKLCHoklch(54.73% 0.161 346.2)
XYZxyz(23.7352, 14.5628, 23.3862)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4184 #41AF6C
analogous
#A341AF #AF4184 #AF414D
triadic
#AF4184 #84AF41 #4184AF
tetradic
#AF4184 #AFA341 #41AF6C #414DAF
square
#AF4184 #AFA341 #41AF6C #414DAF
split-complementary
#AF4184 #4DAF41 #41AFA3
monochromatic
#562041 #823062 #AF4184 #C667A1 #D793BD

Accessibility & contrast

On white

5.37
#AF4184 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AF4184 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4184
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4184#FFFFFF#000000##FFFFFF
##AF41841.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5F86
Deuteranopia (green-blind)
#6C7181
Tritanopia (blue-blind)
#BA3F5D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4184;
/* rgb */ color: rgb(175, 65, 132);
/* oklch */ color: oklch(54.7% 0.161 346.2);
Tailwind
colors: {
  custom: {
    50: '#ca7ca7',
    500: '#af4184',
    950: '#000000',
  },
}
SCSS
$custom: #af4184;
$custom-light: #ca7ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4184",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 132
  },
  "hsl": {
    "h": 323.455,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54725,
    "c": 0.16089,
    "h": 346.2
  },
  "luminance": 0.1456
}

Semantic roles & 50–950 ramp

primary
#AF4184
secondary
#89C2A0
accent
#D58652
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4184

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

Preview Lab → · Contrast checker → · Palette generator →

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