#AF4F83#AF4F83

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

Color values

HEX#AF4F83
RGBrgb(175, 79, 131)
HSLhsl(328, 38%, 50%)
HSVhsv(328, 55%, 69%)
CMYKcmyk(0%, 54.9%, 25.1%, 31.4%)
CIE-LABlab(47.43, 45.13, -10.32)
CIE-LCHlch(47.43, 46.30, 347.12°)
OKLaboklab(56.49% 0.136 -0.027)
OKLCHoklch(56.49% 0.139 348.8)
XYZxyz(24.5727, 16.3468, 23.3294)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F83 #4FAF7B
analogous
#AB4FAF #AF4F83 #AF4F53
triadic
#AF4F83 #83AF4F #4F83AF
tetradic
#AF4F83 #AFAB4F #4FAF7B #4F53AF
square
#AF4F83 #AFAB4F #4FAF7B #4F53AF
split-complementary
#AF4F83 #53AF4F #4FAFAB
monochromatic
#5B2944 #853C63 #AF4F83 #C279A1 #D5A3BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4F83#FFFFFF#000000##FFFFFF
##AF4F831.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)
#5A6685
Deuteranopia (green-blind)
#737781
Tritanopia (blue-blind)
#BA4C63
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4f83;
/* rgb */ color: rgb(175, 79, 131);
/* oklch */ color: oklch(56.5% 0.139 348.8);
Tailwind
colors: {
  custom: {
    50: '#ca84a7',
    500: '#af4f83',
    950: '#000000',
  },
}
SCSS
$custom: #af4f83;
$custom-light: #ca84a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f83",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 131
  },
  "hsl": {
    "h": 327.5,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5649,
    "c": 0.13866,
    "h": 348.8
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#AF4F83
secondary
#97C3AB
accent
#CE8F5A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4F83

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

Preview Lab → · Contrast checker → · Palette generator →

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