#AF4D8D#AF4D8D

#AF4D8D is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.6% C 0.148 H 342.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AF4D8D
RGBrgb(175, 77, 141)
HSLhsl(321, 39%, 49%)
HSVhsv(321, 56%, 69%)
CMYKcmyk(0%, 56%, 19.4%, 31.4%)
CIE-LABlab(47.43, 47.57, -16.33)
CIE-LCHlch(47.43, 50.30, 341.05°)
OKLaboklab(56.61% 0.1417 -0.0435)
OKLCHoklch(56.61% 0.148 342.9)
XYZxyz(25.1414, 16.3469, 27.0253)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D8D #4DAF6F
analogous
#A04DAF #AF4D8D #AF4D5C
triadic
#AF4D8D #8DAF4D #4D8DAF
tetradic
#AF4D8D #AFA04D #4DAF6F #4D5CAF
square
#AF4D8D #AFA04D #4DAF6F #4D5CAF
split-complementary
#AF4D8D #5CAF4D #4DAFA0
monochromatic
#5A2849 #853A6B #AF4D8D #C376A8 #D6A1C3

Accessibility & contrast

On white

4.92
#AF4D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AF4D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D8D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D8D#FFFFFF#000000##FFFFFF
##AF4D8D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54668F
Deuteranopia (green-blind)
#70768B
Tritanopia (blue-blind)
#B94D67
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4d8d;
/* rgb */ color: rgb(175, 77, 141);
/* oklch */ color: oklch(56.6% 0.148 342.9);
Tailwind
colors: {
  custom: {
    50: '#c983ae',
    500: '#af4d8d',
    950: '#000000',
  },
}
SCSS
$custom: #af4d8d;
$custom-light: #c983ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d8d",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 320.816,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.14825,
    "h": 342.9
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#AF4D8D
secondary
#95C3A5
accent
#CF8259
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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