#AF3B8D#AF3B8D

#AF3B8D is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.4% C 0.175 H 341.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF3B8D
RGBrgb(175, 59, 141)
HSLhsl(318, 50%, 46%)
HSVhsv(318, 66%, 69%)
CMYKcmyk(0%, 66.3%, 19.4%, 31.4%)
CIE-LABlab(44.47, 55.60, -20.86)
CIE-LCHlch(44.47, 59.39, 339.43°)
OKLaboklab(54.43% 0.1659 -0.056)
OKLCHoklch(54.43% 0.175 341.4)
XYZxyz(24.0515, 14.1672, 26.6620)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3B8D #3BAF5D
analogous
#973BAF #AF3B8D #AF3B53
triadic
#AF3B8D #8DAF3B #3B8DAF
tetradic
#AF3B8D #AF973B #3BAF5D #3B53AF
square
#AF3B8D #AF973B #3BAF5D #3B53AF
split-complementary
#AF3B8D #53AF3B #3BAF97
monochromatic
#531C43 #812C68 #AF3B8D #C95EAA #D88CC2

Accessibility & contrast

On white

5.48
#AF3B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF3B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3B8D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3B8D#FFFFFF#000000##FFFFFF
##AF3B8D1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D8F
Deuteranopia (green-blind)
#67708A
Tritanopia (blue-blind)
#B93D5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3b8d;
/* rgb */ color: rgb(175, 59, 141);
/* oklch */ color: oklch(54.4% 0.175 341.4);
Tailwind
colors: {
  custom: {
    50: '#ca79ae',
    500: '#af3b8d',
    950: '#000000',
  },
}
SCSS
$custom: #af3b8d;
$custom-light: #ca79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af3b8d",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 317.586,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54434,
    "c": 0.17513,
    "h": 341.4
  },
  "luminance": 0.14165
}

Semantic roles & 50–950 ramp

primary
#AF3B8D
secondary
#83C396
accent
#D9774F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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