#AF3E81#AF3E81

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

Color values

HEX#AF3E81
RGBrgb(175, 62, 129)
HSLhsl(324, 48%, 46%)
HSVhsv(324, 65%, 69%)
CMYKcmyk(0%, 64.6%, 26.3%, 31.4%)
CIE-LABlab(44.44, 52.69, -13.62)
CIE-LCHlch(44.44, 54.42, 345.51°)
OKLaboklab(54.26% 0.1594 -0.0359)
OKLCHoklch(54.26% 0.163 347.3)
XYZxyz(23.3652, 14.1465, 22.2647)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E81 #3EAF6C
analogous
#A53EAF #AF3E81 #AF3E49
triadic
#AF3E81 #81AF3E #3E81AF
tetradic
#AF3E81 #AFA53E #3EAF6C #3E49AF
square
#AF3E81 #AFA53E #3EAF6C #3E49AF
split-complementary
#AF3E81 #49AF3E #3EAFA5
monochromatic
#551E3E #822E60 #AF3E81 #C8639E #D890BA

Accessibility & contrast

On white

5.48
#AF3E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF3E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E81
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E81#FFFFFF#000000##FFFFFF
##AF3E811.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5D83
Deuteranopia (green-blind)
#6C707E
Tritanopia (blue-blind)
#BB3B5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3e81;
/* rgb */ color: rgb(175, 62, 129);
/* oklch */ color: oklch(54.3% 0.163 347.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ba5',
    500: '#af3e81',
    950: '#000000',
  },
}
SCSS
$custom: #af3e81;
$custom-light: #ca7ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e81",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 129
  },
  "hsl": {
    "h": 324.425,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.16342,
    "h": 347.3
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3E81

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

Preview Lab → · Contrast checker → · Palette generator →

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