#AF3E80#AF3E80

#AF3E80 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.163 H 347.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AF3E80
RGBrgb(175, 62, 128)
HSLhsl(325, 48%, 46%)
HSVhsv(325, 65%, 69%)
CMYKcmyk(0%, 64.6%, 26.9%, 31.4%)
CIE-LABlab(44.40, 52.56, -13.06)
CIE-LCHlch(44.40, 54.16, 346.04°)
OKLaboklab(54.22% 0.1592 -0.0343)
OKLCHoklch(54.22% 0.163 347.8)
XYZxyz(23.2991, 14.1201, 21.9163)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E80 #3EAF6D
analogous
#A63EAF #AF3E80 #AF3E48
triadic
#AF3E80 #80AF3E #3E80AF
tetradic
#AF3E80 #AFA63E #3EAF6D #3E48AF
square
#AF3E80 #AFA63E #3EAF6D #3E48AF
split-complementary
#AF3E80 #48AF3E #3EAFA6
monochromatic
#551E3E #822E5F #AF3E80 #C8639E #D890BA

Accessibility & contrast

On white

5.49
#AF3E80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF3E80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E80
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E80#FFFFFF#000000##FFFFFF
##AF3E801.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5D82
Deuteranopia (green-blind)
#6C707D
Tritanopia (blue-blind)
#BB3B59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3e80;
/* rgb */ color: rgb(175, 62, 128);
/* oklch */ color: oklch(54.2% 0.163 347.8);
Tailwind
colors: {
  custom: {
    50: '#ca7aa5',
    500: '#af3e80',
    950: '#000000',
  },
}
SCSS
$custom: #af3e80;
$custom-light: #ca7aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e80",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 128
  },
  "hsl": {
    "h": 324.956,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.16283,
    "h": 347.8
  },
  "luminance": 0.14118
}

Semantic roles & 50–950 ramp

primary
#AF3E80
secondary
#86C39F
accent
#D78951
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3E80

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

Preview Lab → · Contrast checker → · Palette generator →

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