#AF3E83#AF3E83

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

Color values

HEX#AF3E83
RGBrgb(175, 62, 131)
HSLhsl(323, 48%, 46%)
HSVhsv(323, 65%, 69%)
CMYKcmyk(0%, 64.6%, 25.1%, 31.4%)
CIE-LABlab(44.52, 52.96, -14.72)
CIE-LCHlch(44.52, 54.97, 344.47°)
OKLaboklab(54.34% 0.1599 -0.0389)
OKLCHoklch(54.34% 0.165 346.3)
XYZxyz(23.4994, 14.2002, 22.9717)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E83 #3EAF6A
analogous
#A33EAF #AF3E83 #AF3E4B
triadic
#AF3E83 #83AF3E #3E83AF
tetradic
#AF3E83 #AFA33E #3EAF6A #3E4BAF
square
#AF3E83 #AFA33E #3EAF6A #3E4BAF
split-complementary
#AF3E83 #4BAF3E #3EAFA3
monochromatic
#551E3F #822E61 #AF3E83 #C863A0 #D890BC

Accessibility & contrast

On white

5.47
#AF3E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3E83
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E83#FFFFFF#000000##FFFFFF
##AF3E831.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3e83;
/* rgb */ color: rgb(175, 62, 131);
/* oklch */ color: oklch(54.3% 0.165 346.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ba7',
    500: '#af3e83',
    950: '#000000',
  },
}
SCSS
$custom: #af3e83;
$custom-light: #ca7ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e83",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 131
  },
  "hsl": {
    "h": 323.363,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54336,
    "c": 0.1646,
    "h": 346.3
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3E83

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

Preview Lab → · Contrast checker → · Palette generator →

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