#AF3D8F#AF3D8F

#AF3D8F is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.7% C 0.174 H 340.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AF3D8F
RGBrgb(175, 61, 143)
HSLhsl(317, 48%, 46%)
HSVhsv(317, 65%, 69%)
CMYKcmyk(0%, 65.1%, 18.3%, 31.4%)
CIE-LABlab(44.85, 55.07, -21.48)
CIE-LCHlch(44.85, 59.11, 338.69°)
OKLaboklab(54.74% 0.1639 -0.0578)
OKLCHoklch(54.74% 0.174 340.6)
XYZxyz(24.3065, 14.4368, 27.4877)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D8F #3DAF5D
analogous
#963DAF #AF3D8F #AF3D56
triadic
#AF3D8F #8FAF3D #3D8FAF
tetradic
#AF3D8F #AF963D #3DAF5D #3D56AF
square
#AF3D8F #AF963D #3DAF5D #3D56AF
split-complementary
#AF3D8F #56AF3D #3DAF96
monochromatic
#541D45 #822D6A #AF3D8F #C861AB #D88FC3

Accessibility & contrast

On white

5.40
#AF3D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF3D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D8F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D8F#FFFFFF#000000##FFFFFF
##AF3D8F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#B93F60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3d8f;
/* rgb */ color: rgb(175, 61, 143);
/* oklch */ color: oklch(54.7% 0.174 340.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ab0',
    500: '#af3d8f',
    950: '#000000',
  },
}
SCSS
$custom: #af3d8f;
$custom-light: #ca7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d8f",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 316.842,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54741,
    "c": 0.17374,
    "h": 340.6
  },
  "luminance": 0.14435
}

Semantic roles & 50–950 ramp

primary
#AF3D8F
secondary
#85C396
accent
#D87650
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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