#AF3180#AF3180

#AF3180 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.180 H 346.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF3180
RGBrgb(175, 49, 128)
HSLhsl(322, 56%, 44%)
HSVhsv(322, 72%, 69%)
CMYKcmyk(0%, 72%, 26.9%, 31.4%)
CIE-LABlab(42.57, 57.65, -15.86)
CIE-LCHlch(42.57, 59.79, 344.62°)
OKLaboklab(52.87% 0.1749 -0.0419)
OKLCHoklch(52.87% 0.18 346.5)
XYZxyz(22.6748, 12.8715, 21.7082)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3180 #31AF60
analogous
#9F31AF #AF3180 #AF3141
triadic
#AF3180 #80AF31 #3180AF
tetradic
#AF3180 #AF9F31 #31AF60 #3141AF
square
#AF3180 #AF9F31 #31AF60 #3141AF
split-complementary
#AF3180 #41AF31 #31AF9F
monochromatic
#4F163A #7F245D #AF3180 #CE4F9F #DB7FB9

Accessibility & contrast

On white

5.88
#AF3180 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF3180 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3180
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3180#FFFFFF#000000##FFFFFF
##AF31801.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415782
Deuteranopia (green-blind)
#676C7D
Tritanopia (blue-blind)
#BB2E54
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3180;
/* rgb */ color: rgb(175, 49, 128);
/* oklch */ color: oklch(52.9% 0.180 346.5);
Tailwind
colors: {
  custom: {
    50: '#cb74a5',
    500: '#af3180',
    950: '#000000',
  },
}
SCSS
$custom: #af3180;
$custom-light: #cb74a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3180",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 128
  },
  "hsl": {
    "h": 322.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.17987,
    "h": 346.5
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#AF3180
secondary
#78C494
accent
#E08148
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF3180

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

Preview Lab → · Contrast checker → · Palette generator →

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