#AF4180#AF4180

#AF4180 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.6% C 0.159 H 348.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AF4180
RGBrgb(175, 65, 128)
HSLhsl(326, 46%, 47%)
HSVhsv(326, 63%, 69%)
CMYKcmyk(0%, 62.9%, 26.9%, 31.4%)
CIE-LABlab(44.88, 51.26, -12.35)
CIE-LCHlch(44.88, 52.73, 346.46°)
OKLaboklab(54.57% 0.1552 -0.0324)
OKLCHoklch(54.57% 0.159 348.2)
XYZxyz(23.4667, 14.4554, 21.9722)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4180 #41AF70
analogous
#A741AF #AF4180 #AF4149
triadic
#AF4180 #80AF41 #4180AF
tetradic
#AF4180 #AFA741 #41AF70 #4149AF
square
#AF4180 #AFA741 #41AF70 #4149AF
split-complementary
#AF4180 #49AF41 #41AFA7
monochromatic
#56203F #82305F #AF4180 #C6679E #D793BA

Accessibility & contrast

On white

5.40
#AF4180 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF4180 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4180
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4180#FFFFFF#000000##FFFFFF
##AF41801.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5E82
Deuteranopia (green-blind)
#6D717D
Tritanopia (blue-blind)
#BB3E5B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4180;
/* rgb */ color: rgb(175, 65, 128);
/* oklch */ color: oklch(54.6% 0.159 348.2);
Tailwind
colors: {
  custom: {
    50: '#ca7ca4',
    500: '#af4180',
    950: '#000000',
  },
}
SCSS
$custom: #af4180;
$custom-light: #ca7ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4180",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 128
  },
  "hsl": {
    "h": 325.636,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.15853,
    "h": 348.2
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#AF4180
secondary
#89C2A2
accent
#D58A52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4180

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

Preview Lab → · Contrast checker → · Palette generator →

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