#AF3E82#AF3E82

#AF3E82 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.164 H 346.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF3E82
RGBrgb(175, 62, 130)
HSLhsl(324, 48%, 46%)
HSVhsv(324, 65%, 69%)
CMYKcmyk(0%, 64.6%, 25.7%, 31.4%)
CIE-LABlab(44.48, 52.82, -14.17)
CIE-LCHlch(44.48, 54.69, 344.99°)
OKLaboklab(54.3% 0.1597 -0.0374)
OKLCHoklch(54.3% 0.164 346.8)
XYZxyz(23.4320, 14.1733, 22.6164)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E82 #3EAF6B
analogous
#A43EAF #AF3E82 #AF3E4A
triadic
#AF3E82 #82AF3E #3E82AF
tetradic
#AF3E82 #AFA43E #3EAF6B #3E4AAF
square
#AF3E82 #AFA43E #3EAF6B #3E4AAF
split-complementary
#AF3E82 #4AAF3E #3EAFA4
monochromatic
#551E3F #822E60 #AF3E82 #C8639F #D890BB

Accessibility & contrast

On white

5.48
#AF3E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF3E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E82
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E82#FFFFFF#000000##FFFFFF
##AF3E821.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5D84
Deuteranopia (green-blind)
#6B707F
Tritanopia (blue-blind)
#BB3B5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3e82;
/* rgb */ color: rgb(175, 62, 130);
/* oklch */ color: oklch(54.3% 0.164 346.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ba6',
    500: '#af3e82',
    950: '#000000',
  },
}
SCSS
$custom: #af3e82;
$custom-light: #ca7ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e82",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 130
  },
  "hsl": {
    "h": 323.894,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54296,
    "c": 0.164,
    "h": 346.8
  },
  "luminance": 0.14171
}

Semantic roles & 50–950 ramp

primary
#AF3E82
secondary
#86C39E
accent
#D78651
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3E82

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

Preview Lab → · Contrast checker → · Palette generator →

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