#AF3B87#AF3B87

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

Color values

HEX#AF3B87
RGBrgb(175, 59, 135)
HSLhsl(321, 50%, 46%)
HSVhsv(321, 66%, 69%)
CMYKcmyk(0%, 66.3%, 22.9%, 31.4%)
CIE-LABlab(44.22, 54.76, -17.60)
CIE-LCHlch(44.22, 57.52, 342.18°)
OKLaboklab(54.17% 0.1647 -0.0469)
OKLCHoklch(54.17% 0.171 344.1)
XYZxyz(23.6171, 13.9935, 24.3742)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3B87 #3BAF63
analogous
#9D3BAF #AF3B87 #AF3B4D
triadic
#AF3B87 #87AF3B #3B87AF
tetradic
#AF3B87 #AF9D3B #3BAF63 #3B4DAF
square
#AF3B87 #AF9D3B #3BAF63 #3B4DAF
split-complementary
#AF3B87 #4DAF3B #3BAF9D
monochromatic
#531C40 #812C64 #AF3B87 #C95EA4 #D88CBE

Accessibility & contrast

On white

5.53
#AF3B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF3B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3B87
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3B87#FFFFFF#000000##FFFFFF
##AF3B871.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465C89
Deuteranopia (green-blind)
#697084
Tritanopia (blue-blind)
#BA3A5C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3b87;
/* rgb */ color: rgb(175, 59, 135);
/* oklch */ color: oklch(54.2% 0.171 344.1);
Tailwind
colors: {
  custom: {
    50: '#ca79aa',
    500: '#af3b87',
    950: '#000000',
  },
}
SCSS
$custom: #af3b87;
$custom-light: #ca79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3b87",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 320.69,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54171,
    "c": 0.17123,
    "h": 344.1
  },
  "luminance": 0.13991
}

Semantic roles & 50–950 ramp

primary
#AF3B87
secondary
#83C399
accent
#D97E4F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3B87

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

Preview Lab → · Contrast checker → · Palette generator →

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