#AF3C86#AF3C86

#AF3C86 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.169 H 344.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF3C86
RGBrgb(175, 60, 134)
HSLhsl(321, 49%, 46%)
HSVhsv(321, 66%, 69%)
CMYKcmyk(0%, 65.7%, 23.4%, 31.4%)
CIE-LABlab(44.33, 54.21, -16.83)
CIE-LCHlch(44.33, 56.76, 342.75°)
OKLaboklab(54.24% 0.1632 -0.0447)
OKLCHoklch(54.24% 0.169 344.7)
XYZxyz(23.5990, 14.0692, 24.0224)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C86 #3CAF65
analogous
#9E3CAF #AF3C86 #AF3C4D
triadic
#AF3C86 #86AF3C #3C86AF
tetradic
#AF3C86 #AF9E3C #3CAF65 #3C4DAF
square
#AF3C86 #AF9E3C #3CAF65 #3C4DAF
split-complementary
#AF3C86 #4DAF3C #3CAF9E
monochromatic
#541D40 #812C63 #AF3C86 #C860A3 #D88DBD

Accessibility & contrast

On white

5.51
#AF3C86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF3C86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C86
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C86#FFFFFF#000000##FFFFFF
##AF3C861.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D88
Deuteranopia (green-blind)
#697083
Tritanopia (blue-blind)
#BA3B5B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3c86;
/* rgb */ color: rgb(175, 60, 134);
/* oklch */ color: oklch(54.2% 0.169 344.7);
Tailwind
colors: {
  custom: {
    50: '#ca7aa9',
    500: '#af3c86',
    950: '#000000',
  },
}
SCSS
$custom: #af3c86;
$custom-light: #ca7aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c86",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 134
  },
  "hsl": {
    "h": 321.391,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.16923,
    "h": 344.7
  },
  "luminance": 0.14067
}

Semantic roles & 50–950 ramp

primary
#AF3C86
secondary
#84C39A
accent
#D8804F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3C86

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

Preview Lab → · Contrast checker → · Palette generator →

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