#AF3882#AF3882

#AF3882 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.6% C 0.172 H 346.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF3882
RGBrgb(175, 56, 130)
HSLhsl(323, 52%, 45%)
HSVhsv(323, 68%, 69%)
CMYKcmyk(0%, 68%, 25.7%, 31.4%)
CIE-LABlab(43.59, 55.28, -15.52)
CIE-LCHlch(43.59, 57.42, 344.31°)
OKLaboklab(53.64% 0.1672 -0.0411)
OKLCHoklch(53.64% 0.172 346.2)
XYZxyz(23.1236, 13.5564, 22.5136)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3882 #38AF65
analogous
#A038AF #AF3882 #AF3847
triadic
#AF3882 #82AF38 #3882AF
tetradic
#AF3882 #AFA038 #38AF65 #3847AF
square
#AF3882 #AFA038 #38AF65 #3847AF
split-complementary
#AF3882 #47AF38 #38AFA0
monochromatic
#521A3D #812960 #AF3882 #CA5AA0 #D988BB

Accessibility & contrast

On white

5.66
#AF3882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF3882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3882
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3882#FFFFFF#000000##FFFFFF
##AF38821.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A84
Deuteranopia (green-blind)
#696E7F
Tritanopia (blue-blind)
#BB3558
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3882;
/* rgb */ color: rgb(175, 56, 130);
/* oklch */ color: oklch(53.6% 0.172 346.2);
Tailwind
colors: {
  custom: {
    50: '#cb77a6',
    500: '#af3882',
    950: '#000000',
  },
}
SCSS
$custom: #af3882;
$custom-light: #cb77a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3882",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 322.689,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53642,
    "c": 0.17221,
    "h": 346.2
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#AF3882
secondary
#80C399
accent
#DB834D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3882

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

Preview Lab → · Contrast checker → · Palette generator →

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