#C940A7#C940A7
#C940A7 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.0% C 0.204 H 339.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C940A7 |
|---|---|
| RGB | rgb(201, 64, 167) |
| HSL | hsl(315, 56%, 52%) |
| HSV | hsv(315, 68%, 79%) |
| CMYK | cmyk(0%, 68.2%, 16.9%, 21.2%) |
| CIE-LAB | lab(50.54, 64.23, -26.65) |
| CIE-LCH | lch(50.54, 69.54, 337.46°) |
| OKLab | oklab(60.05% 0.1906 -0.072) |
| OKLCH | oklch(60.05% 0.204 339.3) |
| XYZ | xyz(32.8966, 18.8774, 38.4629) |
| Luminance | 0.1887 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.58
Pinky Purple
#C94CBE
ΔE00 4.56
Purplish Pink
#CE5DAE
ΔE00 6.08
Purpleish Pink
#DF4EC8
ΔE00 7.16
Ugly Purple
#A442A0
ΔE00 7.48
Mediumvioletred
#C71585
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C940A7 #40C962
analogous
#A740C9 #C940A7 #C94062
triadic
#C940A7 #A7C940 #40A7C9
tetradic
#C940A7 #C9A740 #40C962 #4062C9
square
#C940A7 #C9A740 #40C962 #4062C9
split-complementary
#C940A7 #62C940 #40C9A7
monochromatic
#6F1F5B #9F2D83 #C940A7 #D670BD #E49FD3
Accessibility & contrast
On white
4.40
#C940A7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#C940A7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C940A7
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C940A7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C940A7 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476AAA
Deuteranopia (green-blind)
#7380A4
Tritanopia (blue-blind)
#D4456E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c940a7; /* rgb */ color: rgb(201, 64, 167); /* oklch */ color: oklch(60.0% 0.204 339.3);
Tailwind
colors: {
custom: {
50: '#dd7fc1',
500: '#c940a7',
950: '#000000',
},
}SCSS
$custom: #c940a7; $custom-light: #dd7fc1; $custom-dark: #000000;
JSON
{
"hex": "#c940a7",
"rgb": {
"r": 201,
"g": 64,
"b": 167
},
"hsl": {
"h": 314.891,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.60049,
"c": 0.20374,
"h": 339.3
},
"luminance": 0.18874
}Semantic roles & 50–950 ramp
primary
#C940A7
secondary
#94D0A3
accent
#DF6E49
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81