#AF2580#AF2580

#AF2580 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.193 H 345.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AF2580
RGBrgb(175, 37, 128)
HSLhsl(320, 65%, 42%)
HSVhsv(320, 79%, 69%)
CMYKcmyk(0%, 78.9%, 26.9%, 31.4%)
CIE-LABlab(41.21, 61.49, -17.93)
CIE-LCHlch(41.21, 64.05, 343.74°)
OKLaboklab(51.88% 0.1868 -0.0476)
OKLCHoklch(51.88% 0.193 345.7)
XYZxyz(22.2381, 11.9981, 21.5626)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2580 #25AF54
analogous
#9925AF #AF2580 #AF253B
triadic
#AF2580 #80AF25 #2580AF
tetradic
#AF2580 #AF9925 #25AF54 #253BAF
square
#AF2580 #AF9925 #25AF54 #253BAF
split-complementary
#AF2580 #3BAF25 #25AF99
monochromatic
#4A1036 #7C1A5B #AF2580 #D63CA1 #E06EB9

Accessibility & contrast

On white

6.18
#AF2580 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF2580 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2580
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2580#FFFFFF#000000##FFFFFF
##AF25801.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395282
Deuteranopia (green-blind)
#636A7D
Tritanopia (blue-blind)
#BB2150
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2580;
/* rgb */ color: rgb(175, 37, 128);
/* oklch */ color: oklch(51.9% 0.193 345.7);
Tailwind
colors: {
  custom: {
    50: '#cb6fa5',
    500: '#af2580',
    950: '#000000',
  },
}
SCSS
$custom: #af2580;
$custom-light: #cb6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2580",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 320.435,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51883,
    "c": 0.19281,
    "h": 345.7
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#AF2580
secondary
#69C789
accent
#E87940
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2580

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

Preview Lab → · Contrast checker → · Palette generator →

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