Magenta

#AF02DE

Pink

Color Codes

All color formats for development

HEX
#AF02DE
RGB
rgb(175, 2, 222)
HSL
hsl(287, 98%, 44%)
OKLCH
oklch(0.562 0.275 315.7)
CMYK
cmyk(21%, 99%, 0%, 13%)

Accessibility

WCAG contrast compliance

On White Background

5.40:1

AA AAA

On Black Background

3.89:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#FCF0
100
#F7DC
200
#F0BD
300
#E58B
400
#D74E
500
#CC1C
600
#AF02
700
#8B02
800
#6301
900
#3F01
950
#2801

Shades

Darker variations

1#9D02C8
2#8C02B2
3#7A029C
4#690185
5#57016F
6#460159
7#340143
8#23002C
9#110016

Tints

Lighter variations

1#C503FA
2#CC1DFD
3#D339FD
4#D955FD
5#DF72FE
6#E68EFE
7#ECAAFE
8#F2C6FE
9#F9E3FF

Tones

Muted variations

1#A80DD3
2#A218C8
3#9C23BD
4#962EB2
5#8F39A7
6#89449C
7#834F91
8#7D5A86
9#76657B

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
FCF0
#FCF0FF
BackgroundsSubtle highlightsCard backgrounds
100
F7DC
#F7DCFF
Light backgroundsTable row hoverSkeleton loading
200
F0BD
#F0BDFE
Secondary backgroundsInput backgroundsDividers
300
E58B
#E58BFE
BordersInactive statesPlaceholder text
400
D74E
#D74EFD
Disabled statesSecondary iconsMuted text
500
CC1C
#CC1CFD
Primary brand colorCTAsActive elementsLinks
600
AF02
#AF02DE
Hover statesFocus ringsPrimary buttons hover
700
8B02
#8B02B1
Active/pressed statesDark mode accentsSecondary text
800
6301
#63017E
Text on light backgroundsHeadingsStrong borders
900
3F01
#3F0151
Primary textHigh emphasis contentDark headings
950
2801
#280132
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --magenta-50: #FCF0FF;
  --magenta-100: #F7DCFF;
  --magenta-200: #F0BDFE;
  --magenta-300: #E58BFE;
  --magenta-400: #D74EFD;
  --magenta-500: #CC1CFD;
  --magenta-600: #AF02DE;
  --magenta-700: #8B02B1;
  --magenta-800: #63017E;
  --magenta-900: #3F0151;
  --magenta-950: #280132;
}
Generate More ShadesCreate PaletteConvert Color