#AF3E84#AF3E84

#AF3E84 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.4% C 0.165 H 345.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AF3E84
RGBrgb(175, 62, 132)
HSLhsl(323, 48%, 46%)
HSVhsv(323, 65%, 69%)
CMYKcmyk(0%, 64.6%, 24.6%, 31.4%)
CIE-LABlab(44.56, 53.10, -15.27)
CIE-LCHlch(44.56, 55.25, 343.96°)
OKLaboklab(54.38% 0.1602 -0.0404)
OKLCHoklch(54.38% 0.165 345.8)
XYZxyz(23.5675, 14.2275, 23.3303)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E84 #3EAF69
analogous
#A23EAF #AF3E84 #AF3E4C
triadic
#AF3E84 #84AF3E #3E84AF
tetradic
#AF3E84 #AFA23E #3EAF69 #3E4CAF
square
#AF3E84 #AFA23E #3EAF69 #3E4CAF
split-complementary
#AF3E84 #4CAF3E #3EAFA2
monochromatic
#551E40 #822E62 #AF3E84 #C863A1 #D890BC

Accessibility & contrast

On white

5.46
#AF3E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF3E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E84
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E84#FFFFFF#000000##FFFFFF
##AF3E841.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5D86
Deuteranopia (green-blind)
#6B7081
Tritanopia (blue-blind)
#BA3C5B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3e84;
/* rgb */ color: rgb(175, 62, 132);
/* oklch */ color: oklch(54.4% 0.165 345.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ba7',
    500: '#af3e84',
    950: '#000000',
  },
}
SCSS
$custom: #af3e84;
$custom-light: #ca7ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e84",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 132
  },
  "hsl": {
    "h": 322.832,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.1652,
    "h": 345.8
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#AF3E84
secondary
#86C39D
accent
#D78451
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3E84

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

Preview Lab → · Contrast checker → · Palette generator →

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