#AF4682#AF4682

#AF4682 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.3% C 0.152 H 347.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF4682
RGBrgb(175, 70, 130)
HSLhsl(326, 43%, 48%)
HSVhsv(326, 60%, 69%)
CMYKcmyk(0%, 60%, 25.7%, 31.4%)
CIE-LABlab(45.78, 49.29, -12.20)
CIE-LCHlch(45.78, 50.77, 346.10°)
OKLaboklab(55.26% 0.1488 -0.032)
OKLCHoklch(55.26% 0.152 347.9)
XYZxyz(23.8995, 15.1083, 22.7723)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4682 #46AF73
analogous
#A746AF #AF4682 #AF464E
triadic
#AF4682 #82AF46 #4682AF
tetradic
#AF4682 #AFA746 #46AF73 #464EAF
square
#AF4682 #AFA746 #46AF73 #464EAF
split-complementary
#AF4682 #4EAF46 #46AFA7
monochromatic
#582341 #833562 #AF4682 #C56D9F #D699BC

Accessibility & contrast

On white

5.22
#AF4682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF4682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4682
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4682#FFFFFF#000000##FFFFFF
##AF46821.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526184
Deuteranopia (green-blind)
#6F737F
Tritanopia (blue-blind)
#BA435E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4682;
/* rgb */ color: rgb(175, 70, 130);
/* oklch */ color: oklch(55.3% 0.152 347.9);
Tailwind
colors: {
  custom: {
    50: '#ca7fa6',
    500: '#af4682',
    950: '#000000',
  },
}
SCSS
$custom: #af4682;
$custom-light: #ca7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4682",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 325.714,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.15223,
    "h": 347.9
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#AF4682
secondary
#8EC2A5
accent
#D38B55
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4682

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

Preview Lab → · Contrast checker → · Palette generator →

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