#AF4580#AF4580

#AF4580 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.1% C 0.153 H 348.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AF4580
RGBrgb(175, 69, 128)
HSLhsl(327, 43%, 48%)
HSVhsv(327, 61%, 69%)
CMYKcmyk(0%, 60.6%, 26.9%, 31.4%)
CIE-LABlab(45.54, 49.47, -11.35)
CIE-LCHlch(45.54, 50.76, 347.08°)
OKLaboklab(55.05% 0.1497 -0.0297)
OKLCHoklch(55.05% 0.153 348.8)
XYZxyz(23.7045, 14.9310, 22.0515)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4580 #45AF74
analogous
#A945AF #AF4580 #AF454B
triadic
#AF4580 #80AF45 #4580AF
tetradic
#AF4580 #AFA945 #45AF74 #454BAF
square
#AF4580 #AFA945 #45AF74 #454BAF
split-complementary
#AF4580 #4BAF45 #45AFA9
monochromatic
#572240 #833460 #AF4580 #C56C9E #D698BB

Accessibility & contrast

On white

5.27
#AF4580 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF4580 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4580
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4580#FFFFFF#000000##FFFFFF
##AF45801.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526082
Deuteranopia (green-blind)
#6F737D
Tritanopia (blue-blind)
#BB415D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4580;
/* rgb */ color: rgb(175, 69, 128);
/* oklch */ color: oklch(55.1% 0.153 348.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ea4',
    500: '#af4580',
    950: '#000000',
  },
}
SCSS
$custom: #af4580;
$custom-light: #ca7ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4580",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 326.604,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55053,
    "c": 0.15259,
    "h": 348.8
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#AF4580
secondary
#8DC2A5
accent
#D38D55
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4580

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

Preview Lab → · Contrast checker → · Palette generator →

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