#AF3D8D#AF3D8D

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

Color values

HEX#AF3D8D
RGBrgb(175, 61, 141)
HSLhsl(318, 48%, 46%)
HSVhsv(318, 65%, 69%)
CMYKcmyk(0%, 65.1%, 19.4%, 31.4%)
CIE-LABlab(44.77, 54.78, -20.41)
CIE-LCHlch(44.77, 58.46, 339.57°)
OKLaboklab(54.65% 0.1635 -0.0547)
OKLCHoklch(54.65% 0.172 341.5)
XYZxyz(24.1563, 14.3768, 26.6969)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D8D #3DAF5F
analogous
#983DAF #AF3D8D #AF3D54
triadic
#AF3D8D #8DAF3D #3D8DAF
tetradic
#AF3D8D #AF983D #3DAF5F #3D54AF
square
#AF3D8D #AF983D #3DAF5F #3D54AF
split-complementary
#AF3D8D #54AF3D #3DAF98
monochromatic
#541D44 #822D68 #AF3D8D #C861A9 #D88FC2

Accessibility & contrast

On white

5.42
#AF3D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF3D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D8D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D8D#FFFFFF#000000##FFFFFF
##AF3D8D1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E8F
Deuteranopia (green-blind)
#67718A
Tritanopia (blue-blind)
#B93F5F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3d8d;
/* rgb */ color: rgb(175, 61, 141);
/* oklch */ color: oklch(54.7% 0.172 341.5);
Tailwind
colors: {
  custom: {
    50: '#ca7aae',
    500: '#af3d8d',
    950: '#000000',
  },
}
SCSS
$custom: #af3d8d;
$custom-light: #ca7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d8d",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 317.895,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54652,
    "c": 0.17238,
    "h": 341.5
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#AF3D8D
secondary
#85C397
accent
#D87850
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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