#AF3E86#AF3E86

#AF3E86 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.166 H 344.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AF3E86
RGBrgb(175, 62, 134)
HSLhsl(322, 48%, 46%)
HSVhsv(322, 65%, 69%)
CMYKcmyk(0%, 64.6%, 23.4%, 31.4%)
CIE-LABlab(44.64, 53.37, -16.37)
CIE-LCHlch(44.64, 55.82, 342.95°)
OKLaboklab(54.46% 0.1607 -0.0435)
OKLCHoklch(54.46% 0.166 344.9)
XYZxyz(23.7057, 14.2827, 24.0580)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E86 #3EAF67
analogous
#A03EAF #AF3E86 #AF3E4E
triadic
#AF3E86 #86AF3E #3E86AF
tetradic
#AF3E86 #AFA03E #3EAF67 #3E4EAF
square
#AF3E86 #AFA03E #3EAF67 #3E4EAF
split-complementary
#AF3E86 #4EAF3E #3EAFA0
monochromatic
#551E41 #822E63 #AF3E86 #C863A3 #D890BE

Accessibility & contrast

On white

5.45
#AF3E86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF3E86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E86
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E86#FFFFFF#000000##FFFFFF
##AF3E861.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495D88
Deuteranopia (green-blind)
#6A7183
Tritanopia (blue-blind)
#BA3D5C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3e86;
/* rgb */ color: rgb(175, 62, 134);
/* oklch */ color: oklch(54.5% 0.166 344.9);
Tailwind
colors: {
  custom: {
    50: '#ca7ba9',
    500: '#af3e86',
    950: '#000000',
  },
}
SCSS
$custom: #af3e86;
$custom-light: #ca7ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e86",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 321.77,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.16644,
    "h": 344.9
  },
  "luminance": 0.1428
}

Semantic roles & 50–950 ramp

primary
#AF3E86
secondary
#86C39C
accent
#D78151
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3E86

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

Preview Lab → · Contrast checker → · Palette generator →

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