#AF3D9B#AF3D9B

#AF3D9B is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.3% C 0.182 H 335.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF3D9B
RGBrgb(175, 61, 155)
HSLhsl(311, 48%, 46%)
HSVhsv(311, 65%, 69%)
CMYKcmyk(0%, 65.1%, 11.4%, 31.4%)
CIE-LABlab(45.39, 56.89, -27.87)
CIE-LCHlch(45.39, 63.35, 333.90°)
OKLaboklab(55.31% 0.1658 -0.0759)
OKLCHoklch(55.31% 0.182 335.4)
XYZxyz(25.2646, 14.8201, 32.5339)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D9B #3DAF51
analogous
#8A3DAF #AF3D9B #AF3D62
triadic
#AF3D9B #9BAF3D #3D9BAF
tetradic
#AF3D9B #AF8A3D #3DAF51 #3D62AF
square
#AF3D9B #AF8A3D #3DAF51 #3D62AF
split-complementary
#AF3D9B #62AF3D #3DAF8A
monochromatic
#541D4B #822D73 #AF3D9B #C861B6 #D88FCB

Accessibility & contrast

On white

5.30
#AF3D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AF3D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D9B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D9B#FFFFFF#000000##FFFFFF
##AF3D9B1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D619E
Deuteranopia (green-blind)
#627298
Tritanopia (blue-blind)
#B74466
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3d9b;
/* rgb */ color: rgb(175, 61, 155);
/* oklch */ color: oklch(55.3% 0.182 335.4);
Tailwind
colors: {
  custom: {
    50: '#ca7bb9',
    500: '#af3d9b',
    950: '#000000',
  },
}
SCSS
$custom: #af3d9b;
$custom-light: #ca7bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d9b",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 310.526,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55305,
    "c": 0.18235,
    "h": 335.4
  },
  "luminance": 0.14818
}

Semantic roles & 50–950 ramp

primary
#AF3D9B
secondary
#85C390
accent
#D86850
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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