#AF4186#AF4186

#AF4186 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.8% C 0.162 H 345.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF4186
RGBrgb(175, 65, 134)
HSLhsl(322, 46%, 47%)
HSVhsv(322, 63%, 69%)
CMYKcmyk(0%, 62.9%, 23.4%, 31.4%)
CIE-LABlab(45.11, 52.08, -15.65)
CIE-LCHlch(45.11, 54.38, 343.28°)
OKLaboklab(54.81% 0.1567 -0.0415)
OKLCHoklch(54.81% 0.162 345.2)
XYZxyz(23.8734, 14.6181, 24.1139)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4186 #41AF6A
analogous
#A141AF #AF4186 #AF414F
triadic
#AF4186 #86AF41 #4186AF
tetradic
#AF4186 #AFA141 #41AF6A #414FAF
square
#AF4186 #AFA141 #41AF6A #414FAF
split-complementary
#AF4186 #4FAF41 #41AFA1
monochromatic
#562042 #823064 #AF4186 #C667A3 #D793BE

Accessibility & contrast

On white

5.35
#AF4186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF4186 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4186
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4186#FFFFFF#000000##FFFFFF
##AF41861.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F88
Deuteranopia (green-blind)
#6C7283
Tritanopia (blue-blind)
#BA405E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4186;
/* rgb */ color: rgb(175, 65, 134);
/* oklch */ color: oklch(54.8% 0.162 345.2);
Tailwind
colors: {
  custom: {
    50: '#ca7ca9',
    500: '#af4186',
    950: '#000000',
  },
}
SCSS
$custom: #af4186;
$custom-light: #ca7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4186",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 322.364,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.16212,
    "h": 345.2
  },
  "luminance": 0.14616
}

Semantic roles & 50–950 ramp

primary
#AF4186
secondary
#89C29F
accent
#D58352
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4186

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

Preview Lab → · Contrast checker → · Palette generator →

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