#AF3F81#AF3F81

#AF3F81 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.4% C 0.162 H 347.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AF3F81
RGBrgb(175, 63, 129)
HSLhsl(325, 47%, 47%)
HSVhsv(325, 64%, 69%)
CMYKcmyk(0%, 64%, 26.3%, 31.4%)
CIE-LABlab(44.60, 52.26, -13.38)
CIE-LCHlch(44.60, 53.95, 345.64°)
OKLaboklab(54.37% 0.1581 -0.0352)
OKLCHoklch(54.37% 0.162 347.4)
XYZxyz(23.4201, 14.2563, 22.2830)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F81 #3FAF6D
analogous
#A53FAF #AF3F81 #AF3F49
triadic
#AF3F81 #81AF3F #3F81AF
tetradic
#AF3F81 #AFA53F #3FAF6D #3F49AF
square
#AF3F81 #AFA53F #3FAF6D #3F49AF
split-complementary
#AF3F81 #49AF3F #3FAFA5
monochromatic
#551F3F #822F60 #AF3F81 #C7649E #D791BA

Accessibility & contrast

On white

5.45
#AF3F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3F81
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F81#FFFFFF#000000##FFFFFF
##AF3F811.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3f81;
/* rgb */ color: rgb(175, 63, 129);
/* oklch */ color: oklch(54.4% 0.162 347.4);
Tailwind
colors: {
  custom: {
    50: '#ca7ba5',
    500: '#af3f81',
    950: '#000000',
  },
}
SCSS
$custom: #af3f81;
$custom-light: #ca7ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f81",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 129
  },
  "hsl": {
    "h": 324.643,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5437,
    "c": 0.162,
    "h": 347.4
  },
  "luminance": 0.14254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3F81

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

Preview Lab → · Contrast checker → · Palette generator →

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