#AF3B86#AF3B86

#AF3B86 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.1% C 0.171 H 344.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF3B86
RGBrgb(175, 59, 134)
HSLhsl(321, 50%, 46%)
HSVhsv(321, 66%, 69%)
CMYKcmyk(0%, 66.3%, 23.4%, 31.4%)
CIE-LABlab(44.18, 54.62, -17.06)
CIE-LCHlch(44.18, 57.22, 342.66°)
OKLaboklab(54.13% 0.1645 -0.0454)
OKLCHoklch(54.13% 0.171 344.6)
XYZxyz(23.5471, 13.9654, 24.0051)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3B86 #3BAF64
analogous
#9E3BAF #AF3B86 #AF3B4C
triadic
#AF3B86 #86AF3B #3B86AF
tetradic
#AF3B86 #AF9E3B #3BAF64 #3B4CAF
square
#AF3B86 #AF9E3B #3BAF64 #3B4CAF
split-complementary
#AF3B86 #4CAF3B #3BAF9E
monochromatic
#531C40 #812C63 #AF3B86 #C95EA3 #D88CBD

Accessibility & contrast

On white

5.54
#AF3B86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF3B86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3B86
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3B86#FFFFFF#000000##FFFFFF
##AF3B861.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C88
Deuteranopia (green-blind)
#697083
Tritanopia (blue-blind)
#BA3A5B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3b86;
/* rgb */ color: rgb(175, 59, 134);
/* oklch */ color: oklch(54.1% 0.171 344.6);
Tailwind
colors: {
  custom: {
    50: '#ca79a9',
    500: '#af3b86',
    950: '#000000',
  },
}
SCSS
$custom: #af3b86;
$custom-light: #ca79a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3b86",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 321.207,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.17061,
    "h": 344.6
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#AF3B86
secondary
#83C39A
accent
#D9804F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3B86

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

Preview Lab → · Contrast checker → · Palette generator →

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