Magenta

#D40CD4

Pink

Color Codes

All color formats for development

HEX
#D40CD4
RGB
rgb(212, 12, 212)
HSL
hsl(300, 89%, 44%)
OKLCH
oklch(0.613 0.278 328.3)
CMYK
cmyk(0%, 94%, 0%, 17%)

Accessibility

WCAG contrast compliance

On White Background

4.37:1

AA AAA

On Black Background

4.80:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#FEF1
100
#FDDD
200
#FBC0
300
#F990
400
#F556
500
#F226
600
#D40C
700
#A90A
800
#7807
900
#4D04
950
#3003

Shades

Darker variations

1#BF0BBF
2#AA0AAA
3#940994
4#7F077F
5#6A066A
6#550555
7#400440
8#2A022A
9#150115

Tints

Lighter variations

1#EF0EEF
2#F227F2
3#F442F4
4#F65DF6
5#F778F7
6#F993F9
7#FAAEFA
8#FCC9FC
9#FDE4FD

Tones

Muted variations

1#CA16CA
2#C020C0
3#B62AB6
4#AC34AC
5#A23EA2
6#984898
7#8E528E
8#845C84
9#7A667A

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
FEF1
#FEF1FE
BackgroundsSubtle highlightsCard backgrounds
100
FDDD
#FDDDFD
Light backgroundsTable row hoverSkeleton loading
200
FBC0
#FBC0FB
Secondary backgroundsInput backgroundsDividers
300
F990
#F990F9
BordersInactive statesPlaceholder text
400
F556
#F556F5
Disabled statesSecondary iconsMuted text
500
F226
#F226F2
Primary brand colorCTAsActive elementsLinks
600
D40C
#D40CD4
Hover statesFocus ringsPrimary buttons hover
700
A90A
#A90AA9
Active/pressed statesDark mode accentsSecondary text
800
7807
#780778
Text on light backgroundsHeadingsStrong borders
900
4D04
#4D044D
Primary textHigh emphasis contentDark headings
950
3003
#300330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --magenta-50: #FEF1FE;
  --magenta-100: #FDDDFD;
  --magenta-200: #FBC0FB;
  --magenta-300: #F990F9;
  --magenta-400: #F556F5;
  --magenta-500: #F226F2;
  --magenta-600: #D40CD4;
  --magenta-700: #A90AA9;
  --magenta-800: #780778;
  --magenta-900: #4D044D;
  --magenta-950: #300330;
}
Generate More ShadesCreate PaletteConvert Color