#AF4B8D#AF4B8D

#AF4B8D is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.3% C 0.151 H 342.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF4B8D
RGBrgb(175, 75, 141)
HSLhsl(320, 40%, 49%)
HSVhsv(320, 57%, 69%)
CMYKcmyk(0%, 57.1%, 19.4%, 31.4%)
CIE-LABlab(47.07, 48.53, -16.88)
CIE-LCHlch(47.07, 51.38, 340.82°)
OKLaboklab(56.35% 0.1446 -0.045)
OKLCHoklch(56.35% 0.151 342.7)
XYZxyz(25.0036, 16.0713, 26.9793)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B8D #4BAF6D
analogous
#9F4BAF #AF4B8D #AF4B5B
triadic
#AF4B8D #8DAF4B #4B8DAF
tetradic
#AF4B8D #AF9F4B #4BAF6D #4B5BAF
square
#AF4B8D #AF9F4B #4BAF6D #4B5BAF
split-complementary
#AF4B8D #5BAF4B #4BAF9F
monochromatic
#592648 #84396A #AF4B8D #C374A8 #D69FC3

Accessibility & contrast

On white

4.98
#AF4B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AF4B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B8D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B8D#FFFFFF#000000##FFFFFF
##AF4B8D1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52658F
Deuteranopia (green-blind)
#6E768A
Tritanopia (blue-blind)
#B94B66
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4b8d;
/* rgb */ color: rgb(175, 75, 141);
/* oklch */ color: oklch(56.3% 0.151 342.7);
Tailwind
colors: {
  custom: {
    50: '#ca82ae',
    500: '#af4b8d',
    950: '#000000',
  },
}
SCSS
$custom: #af4b8d;
$custom-light: #ca82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b8d",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 141
  },
  "hsl": {
    "h": 320.4,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56345,
    "c": 0.15144,
    "h": 342.7
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#AF4B8D
secondary
#93C2A3
accent
#D08158
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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