#AF3D8B#AF3D8B

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

Color values

HEX#AF3D8B
RGBrgb(175, 61, 139)
HSLhsl(319, 48%, 46%)
HSVhsv(319, 65%, 69%)
CMYKcmyk(0%, 65.1%, 20.6%, 31.4%)
CIE-LABlab(44.69, 54.49, -19.32)
CIE-LCHlch(44.69, 57.82, 340.48°)
OKLaboklab(54.56% 0.1631 -0.0517)
OKLCHoklch(54.56% 0.171 342.4)
XYZxyz(24.0088, 14.3178, 25.9203)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D8B #3DAF61
analogous
#9A3DAF #AF3D8B #AF3D52
triadic
#AF3D8B #8BAF3D #3D8BAF
tetradic
#AF3D8B #AF9A3D #3DAF61 #3D52AF
square
#AF3D8B #AF9A3D #3DAF61 #3D52AF
split-complementary
#AF3D8B #52AF3D #3DAF9A
monochromatic
#541D43 #822D67 #AF3D8B #C861A8 #D88FC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3D8B#FFFFFF#000000##FFFFFF
##AF3D8B1.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)
#465E8D
Deuteranopia (green-blind)
#687188
Tritanopia (blue-blind)
#BA3E5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3d8b;
/* rgb */ color: rgb(175, 61, 139);
/* oklch */ color: oklch(54.6% 0.171 342.4);
Tailwind
colors: {
  custom: {
    50: '#ca7aad',
    500: '#af3d8b',
    950: '#000000',
  },
}
SCSS
$custom: #af3d8b;
$custom-light: #ca7aad;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d8b",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 318.947,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.17105,
    "h": 342.4
  },
  "luminance": 0.14316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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