#AF3C87#AF3C87

#AF3C87 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.3% C 0.170 H 344.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AF3C87
RGBrgb(175, 60, 135)
HSLhsl(321, 49%, 46%)
HSVhsv(321, 66%, 69%)
CMYKcmyk(0%, 65.7%, 22.9%, 31.4%)
CIE-LABlab(44.37, 54.35, -17.38)
CIE-LCHlch(44.37, 57.06, 342.27°)
OKLaboklab(54.28% 0.1634 -0.0463)
OKLCHoklch(54.28% 0.17 344.2)
XYZxyz(23.6690, 14.0973, 24.3915)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C87 #3CAF64
analogous
#9D3CAF #AF3C87 #AF3C4D
triadic
#AF3C87 #87AF3C #3C87AF
tetradic
#AF3C87 #AF9D3C #3CAF64 #3C4DAF
square
#AF3C87 #AF9D3C #3CAF64 #3C4DAF
split-complementary
#AF3C87 #4DAF3C #3CAF9D
monochromatic
#541D41 #812C64 #AF3C87 #C860A4 #D88DBE

Accessibility & contrast

On white

5.50
#AF3C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF3C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C87
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C87#FFFFFF#000000##FFFFFF
##AF3C871.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475D89
Deuteranopia (green-blind)
#697084
Tritanopia (blue-blind)
#BA3B5C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3c87;
/* rgb */ color: rgb(175, 60, 135);
/* oklch */ color: oklch(54.3% 0.170 344.2);
Tailwind
colors: {
  custom: {
    50: '#ca7aaa',
    500: '#af3c87',
    950: '#000000',
  },
}
SCSS
$custom: #af3c87;
$custom-light: #ca7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c87",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 320.87,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5428,
    "c": 0.16986,
    "h": 344.2
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3C87

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

Preview Lab → · Contrast checker → · Palette generator →

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