#AF3D8A#AF3D8A

#AF3D8A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.170 H 342.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF3D8A
RGBrgb(175, 61, 138)
HSLhsl(319, 48%, 46%)
HSVhsv(319, 65%, 69%)
CMYKcmyk(0%, 65.1%, 21.1%, 31.4%)
CIE-LABlab(44.64, 54.35, -18.78)
CIE-LCHlch(44.64, 57.50, 340.94°)
OKLaboklab(54.52% 0.1628 -0.0502)
OKLCHoklch(54.52% 0.17 342.9)
XYZxyz(23.9361, 14.2887, 25.5372)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D8A #3DAF62
analogous
#9B3DAF #AF3D8A #AF3D51
triadic
#AF3D8A #8AAF3D #3D8AAF
tetradic
#AF3D8A #AF9B3D #3DAF62 #3D51AF
square
#AF3D8A #AF9B3D #3DAF62 #3D51AF
split-complementary
#AF3D8A #51AF3D #3DAF9B
monochromatic
#541D42 #822D66 #AF3D8A #C861A7 #D88FC0

Accessibility & contrast

On white

5.44
#AF3D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF3D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D8A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D8A#FFFFFF#000000##FFFFFF
##AF3D8A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8C
Deuteranopia (green-blind)
#687087
Tritanopia (blue-blind)
#BA3D5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3d8a;
/* rgb */ color: rgb(175, 61, 138);
/* oklch */ color: oklch(54.5% 0.170 342.9);
Tailwind
colors: {
  custom: {
    50: '#ca7aac',
    500: '#af3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #af3d8a;
$custom-light: #ca7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d8a",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 319.474,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5452,
    "c": 0.17039,
    "h": 342.9
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

primary
#AF3D8A
secondary
#85C399
accent
#D87C50
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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