#AF3D81#AF3D81

#AF3D81 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.1% C 0.165 H 347.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AF3D81
RGBrgb(175, 61, 129)
HSLhsl(324, 48%, 46%)
HSVhsv(324, 65%, 69%)
CMYKcmyk(0%, 65.1%, 26.3%, 31.4%)
CIE-LABlab(44.29, 53.11, -13.85)
CIE-LCHlch(44.29, 54.89, 345.38°)
OKLaboklab(54.14% 0.1607 -0.0365)
OKLCHoklch(54.14% 0.165 347.2)
XYZxyz(23.3113, 14.0388, 22.2467)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D81 #3DAF6B
analogous
#A43DAF #AF3D81 #AF3D48
triadic
#AF3D81 #81AF3D #3D81AF
tetradic
#AF3D81 #AFA43D #3DAF6B #3D48AF
square
#AF3D81 #AFA43D #3DAF6B #3D48AF
split-complementary
#AF3D81 #48AF3D #3DAFA4
monochromatic
#541D3E #822D60 #AF3D81 #C8619F #D88FBA

Accessibility & contrast

On white

5.52
#AF3D81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF3D81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D81
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D81#FFFFFF#000000##FFFFFF
##AF3D811.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5C83
Deuteranopia (green-blind)
#6B707E
Tritanopia (blue-blind)
#BB3A59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3d81;
/* rgb */ color: rgb(175, 61, 129);
/* oklch */ color: oklch(54.1% 0.165 347.2);
Tailwind
colors: {
  custom: {
    50: '#ca7aa5',
    500: '#af3d81',
    950: '#000000',
  },
}
SCSS
$custom: #af3d81;
$custom-light: #ca7aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d81",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 129
  },
  "hsl": {
    "h": 324.211,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54142,
    "c": 0.16482,
    "h": 347.2
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#AF3D81
secondary
#85C39E
accent
#D88750
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3D81

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

Preview Lab → · Contrast checker → · Palette generator →

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