#AF3F82#AF3F82

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

Color values

HEX#AF3F82
RGBrgb(175, 63, 130)
HSLhsl(324, 47%, 47%)
HSVhsv(324, 64%, 69%)
CMYKcmyk(0%, 64%, 25.7%, 31.4%)
CIE-LABlab(44.64, 52.40, -13.93)
CIE-LCHlch(44.64, 54.22, 345.11°)
OKLaboklab(54.41% 0.1584 -0.0367)
OKLCHoklch(54.41% 0.163 346.9)
XYZxyz(23.4869, 14.2830, 22.6347)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F82 #3FAF6C
analogous
#A43FAF #AF3F82 #AF3F4A
triadic
#AF3F82 #82AF3F #3F82AF
tetradic
#AF3F82 #AFA43F #3FAF6C #3F4AAF
square
#AF3F82 #AFA43F #3FAF6C #3F4AAF
split-complementary
#AF3F82 #4AAF3F #3FAFA4
monochromatic
#551F3F #822F61 #AF3F82 #C7649F #D791BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3F82#FFFFFF#000000##FFFFFF
##AF3F821.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)
#4C5D84
Deuteranopia (green-blind)
#6C717F
Tritanopia (blue-blind)
#BB3C5B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3f82;
/* rgb */ color: rgb(175, 63, 130);
/* oklch */ color: oklch(54.4% 0.163 346.9);
Tailwind
colors: {
  custom: {
    50: '#ca7ba6',
    500: '#af3f82',
    950: '#000000',
  },
}
SCSS
$custom: #af3f82;
$custom-light: #ca7ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f82",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 130
  },
  "hsl": {
    "h": 324.107,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.16258,
    "h": 346.9
  },
  "luminance": 0.14281
}

Semantic roles & 50–950 ramp

primary
#AF3F82
secondary
#87C39F
accent
#D78751
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3F82

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

Preview Lab → · Contrast checker → · Palette generator →

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