#AF4F86#AF4F86

#AF4F86 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.6% C 0.140 H 347.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AF4F86
RGBrgb(175, 79, 134)
HSLhsl(326, 38%, 50%)
HSVhsv(326, 55%, 69%)
CMYKcmyk(0%, 54.9%, 23.4%, 31.4%)
CIE-LABlab(47.53, 45.56, -11.97)
CIE-LCHlch(47.53, 47.11, 345.28°)
OKLaboklab(56.6% 0.1369 -0.0315)
OKLCHoklch(56.6% 0.14 347)
XYZxyz(24.7790, 16.4293, 24.4158)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F86 #4FAF78
analogous
#A84FAF #AF4F86 #AF4F56
triadic
#AF4F86 #86AF4F #4F86AF
tetradic
#AF4F86 #AFA84F #4FAF78 #4F56AF
square
#AF4F86 #AFA84F #4FAF78 #4F56AF
split-complementary
#AF4F86 #56AF4F #4FAFA8
monochromatic
#5B2945 #853C66 #AF4F86 #C279A3 #D5A3C0

Accessibility & contrast

On white

4.90
#AF4F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AF4F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F86
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F86#FFFFFF#000000##FFFFFF
##AF4F861.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596688
Deuteranopia (green-blind)
#737784
Tritanopia (blue-blind)
#BA4D64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4f86;
/* rgb */ color: rgb(175, 79, 134);
/* oklch */ color: oklch(56.6% 0.140 347.0);
Tailwind
colors: {
  custom: {
    50: '#c984a9',
    500: '#af4f86',
    950: '#000000',
  },
}
SCSS
$custom: #af4f86;
$custom-light: #c984a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f86",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 134
  },
  "hsl": {
    "h": 325.625,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.14046,
    "h": 347
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#AF4F86
secondary
#97C3AA
accent
#CE8B5A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4F86

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

Preview Lab → · Contrast checker → · Palette generator →

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