#AF3F80#AF3F80

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

Color values

HEX#AF3F80
RGBrgb(175, 63, 128)
HSLhsl(325, 47%, 47%)
HSVhsv(325, 64%, 69%)
CMYKcmyk(0%, 64%, 26.9%, 31.4%)
CIE-LABlab(44.56, 52.13, -12.83)
CIE-LCHlch(44.56, 53.69, 346.18°)
OKLaboklab(54.33% 0.1579 -0.0337)
OKLCHoklch(54.33% 0.161 347.9)
XYZxyz(23.3539, 14.2298, 21.9346)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F80 #3FAF6E
analogous
#A63FAF #AF3F80 #AF3F48
triadic
#AF3F80 #80AF3F #3F80AF
tetradic
#AF3F80 #AFA63F #3FAF6E #3F48AF
square
#AF3F80 #AFA63F #3FAF6E #3F48AF
split-complementary
#AF3F80 #48AF3F #3FAFA6
monochromatic
#551F3E #822F5F #AF3F80 #C7649E #D791BA

Accessibility & contrast

On white

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

On black

3.85
#AF3F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF3F80#FFFFFF#000000##FFFFFF
##AF3F801.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D82
Deuteranopia (green-blind)
#6C717D
Tritanopia (blue-blind)
#BB3C5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3f80;
/* rgb */ color: rgb(175, 63, 128);
/* oklch */ color: oklch(54.3% 0.161 347.9);
Tailwind
colors: {
  custom: {
    50: '#ca7ba5',
    500: '#af3f80',
    950: '#000000',
  },
}
SCSS
$custom: #af3f80;
$custom-light: #ca7ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f80",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 325.179,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.16141,
    "h": 347.9
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

primary
#AF3F80
secondary
#87C3A0
accent
#D78951
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3F80

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

Preview Lab → · Contrast checker → · Palette generator →

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